File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed
xml/System.Runtime.CompilerServices Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change 23
23
</Attribute >
24
24
</Attributes >
25
25
<Docs >
26
- <summary >Allows capturing of the expressions passed to a method. NOTE: Is not yet implemented in C# compiler and does nothing.</summary >
27
- <remarks >To be added.</remarks >
26
+ <summary >Indicates that a parameter captures the expression passed for another parameter as a string.</summary >
27
+ <remarks >
28
+ <format type =" text/markdown" ><![CDATA[
29
+
30
+ > [!NOTE]
31
+ > This attribute is not yet implemented in the C# compiler and does nothing.
32
+
33
+ ]]> </format >
34
+ </remarks >
28
35
</Docs >
29
36
<Members >
30
37
<Member MemberName =" .ctor" >
46
53
<Parameter Name =" parameterName" Type =" System.String" />
47
54
</Parameters >
48
55
<Docs >
49
- <param name =" parameterName" >The name of the targeted parameter.</param >
56
+ <param name =" parameterName" >The name of the parameter whose expression should be captured as a string .</param >
50
57
<summary >Initializes a new instance of the <see cref =" T:System.Runtime.CompilerServices.CallerArgumentExpressionAttribute" /> class.</summary >
51
58
<remarks >To be added.</remarks >
52
59
</Docs >
70
77
<ReturnType >System.String</ReturnType >
71
78
</ReturnValue >
72
79
<Docs >
73
- <summary >Gets the target parameter name of the CallerArgumentExpression .</summary >
74
- <value >The name of the targeted parameter of the CallerArgumentExpression .</value >
80
+ <summary >Gets the name of the parameter whose expression should be captured as a string .</summary >
81
+ <value >The name of the parameter whose expression should be captured .</value >
75
82
<remarks >To be added.</remarks >
83
+ <related type =" Article" href =" /dotnet/csharp/language-reference/proposals/csharp-10.0/caller-argument-expression" >C# CallerArgumentExpression proposal</related >
76
84
</Docs >
77
85
</Member >
78
86
</Members >
You can’t perform that action at this time.
0 commit comments