Skip to content

Commit 5959bfe

Browse files
RexJaeschkeBillWagner
authored andcommitted
Add new attribute type
1 parent 0760dd7 commit 5959bfe

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

standard/standard-library.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,13 @@ namespace System.Runtime.CompilerServices
789789
public Type BuilderType { get; }
790790
}
791791

792+
[System.AttributeUsage(System.AttributeTargets.Parameter, AllowMultiple=false,
793+
Inherited=false)]
794+
public sealed class CallerArgumentExpressionAttribute : Attribute
795+
{
796+
public CallerArgumentExpressionAttribute (string parameterName);
797+
}
798+
792799
[AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
793800
public sealed class CallerFilePathAttribute : Attribute
794801
{
@@ -1390,6 +1397,7 @@ The following library types are referenced in this specification. The full names
13901397
- `global::System.Reflection.MemberInfo`
13911398
- `global::System.Runtime.CompilerServices.AsyncMethodBuilderAttribute`
13921399
- `global::System.Runtime.CompilerServices.CallerFilePathAttribute`
1400+
- `global::System.Runtime.CompilerServices.CallerArgumentExpressionAttribute`
13931401
- `global::System.Runtime.CompilerServices.CallerLineNumberAttribute`
13941402
- `global::System.Runtime.CompilerServices.CallerMemberNameAttribute`
13951403
- `global::System.Runtime.CompilerServices.FormattableStringFactory`

0 commit comments

Comments
 (0)