@@ -772,6 +772,13 @@ namespace System.Diagnostics.CodeAnalysis
772772 {
773773 public NotNullWhenAttribute (bool returnValue );
774774 }
775+
776+ [System .AttributeUsage (System .AttributeTargets .Constructor ,
777+ AllowMultiple = false , Inherited = false )]
778+ public sealed class SetsRequiredMembersAttribute : Attribute
779+ {
780+ public SetsRequiredMembersAttribute () {}
781+ }
775782}
776783
777784namespace System .Linq .Expressions
@@ -887,6 +894,14 @@ namespace System.Runtime.CompilerServices
887894 public ModuleInitializerAttribute () { }
888895 }
889896
897+ [System .AttributeUsage (System .AttributeTargets .Class |
898+ System .AttributeTargets .Field | System .AttributeTargets .Property |
899+ System .AttributeTargets .Struct , AllowMultiple = false , Inherited = false )]
900+ public sealed class RequiredMemberAttribute : Attribute
901+ {
902+ public RequiredMemberAttribute () {}
903+ }
904+
890905 public readonly struct TaskAwaiter : ICriticalNotifyCompletion ,
891906 INotifyCompletion
892907 {
@@ -1438,6 +1453,7 @@ The following library types are referenced in this specification. The full names
14381453- ` global::System.Diagnostics.CodeAnalysis.NotNullAttribute `
14391454- ` global::System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute `
14401455- ` global::System.Diagnostics.CodeAnalysis.NotNullWhenAttribute `
1456+ - ` global::System.Diagnostics.CodeAnalysis.SetsRequiredMembersAttribute `
14411457- ` global::System.Linq.Expressions.Expression<TDelegate> `
14421458- ` global::System.Reflection.MemberInfo `
14431459- ` global::System.Runtime.CompilerServices.AsyncMethodBuilderAttribute `
@@ -1453,6 +1469,7 @@ The following library types are referenced in this specification. The full names
14531469- ` global::System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute `
14541470- ` global::System.Runtime.CompilerServices.InterpolatedStringHandlerAttribute `
14551471- ` global::System.Runtime.CompilerServices.ModuleInitializerAttribute `
1472+ - ` global::System.Runtime.CompilerServices.RequiredMemberAttribute `
14561473- ` global::System.Runtime.CompilerServices.TaskAwaiter `
14571474- ` global::System.Runtime.CompilerServices.TaskAwaiter<T> `
14581475- ` global::System.Runtime.CompilerServices.ValueTaskAwaiter `
0 commit comments