Skip to content

Commit f3a0960

Browse files
RexJaeschkeBillWagner
authored andcommitted
Add new attribute type
1 parent 12333dc commit f3a0960

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
{
@@ -1426,6 +1433,7 @@ The following library types are referenced in this specification. The full names
14261433
- `global::System.Reflection.MemberInfo`
14271434
- `global::System.Runtime.CompilerServices.AsyncMethodBuilderAttribute`
14281435
- `global::System.Runtime.CompilerServices.CallerFilePathAttribute`
1436+
- `global::System.Runtime.CompilerServices.CallerArgumentExpressionAttribute`
14291437
- `global::System.Runtime.CompilerServices.CallerLineNumberAttribute`
14301438
- `global::System.Runtime.CompilerServices.CallerMemberNameAttribute`
14311439
- `global::System.Runtime.CompilerServices.FormattableStringFactory`

0 commit comments

Comments
 (0)