Skip to content

Commit

Permalink
Expose CallerArgumentExpressionAttribute (#21809)
Browse files Browse the repository at this point in the history
  • Loading branch information
jswolf19 committed Jun 17, 2018
1 parent 2c55db9 commit ce251d2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/System.Runtime/ref/System.Runtime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6387,6 +6387,12 @@ public void SetResult(TResult result) { }
public void SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) { }
public void Start<TStateMachine>(ref TStateMachine stateMachine) where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { }
}
[System.AttributeUsage((System.AttributeTargets)(2048), AllowMultiple = false, Inherited = false)]
public sealed class CallerArgumentExpressionAttribute : System.Attribute
{
public CallerArgumentExpressionAttribute(string parameterName) { }
public string ParameterName { get { throw null; } }
}
[System.AttributeUsageAttribute((System.AttributeTargets)(2048), Inherited=false)]
public sealed partial class CallerFilePathAttribute : System.Attribute
{
Expand Down

0 comments on commit ce251d2

Please sign in to comment.