You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding Api-docs for System.Runtime.CompilerServices (#2775)
* Adding docs for undocumented apis
* Adding fullstop and some other feedback
Co-Authored-By: Carlos Sanchez Lopez <1175054+carlossanlop@users.noreply.github.com>
* Addressing feedback
Co-Authored-By: Ron Petrusha <ronpet@microsoft.com>
* correcting switch Expression ctor for unmatched value
* Fixed bad cref.
Copy file name to clipboardExpand all lines: xml/System.Runtime.CompilerServices/ConfiguredAsyncDisposable.xml
+2-2
Original file line number
Diff line number
Diff line change
@@ -48,8 +48,8 @@
48
48
</ReturnValue>
49
49
<Parameters />
50
50
<Docs>
51
-
<summary>To be added.</summary>
52
-
<returns>To be added.</returns>
51
+
<summary>Asynchronously releases the unmanaged resources used by the <seecref="T:System.Runtime.CompilerServices.ConfiguredAsyncDisposable" />.</summary>
52
+
<returns>A task that represents the asynchronous dispose operation.</returns>
Copy file name to clipboardExpand all lines: xml/System.Runtime.CompilerServices/EnumeratorCancellationAttribute.xml
+3-3
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@
22
22
</Attribute>
23
23
</Attributes>
24
24
<Docs>
25
-
<summary>To be added.</summary>
25
+
<summary>Allows users of async-enumerable methods to mark the parameter that should receive the cancellation token value from <seecref="M:System.Collections.Generic.IAsyncEnumerable`1.GetAsyncEnumerator(System.Threading.CancellationToken)" />.</summary>
26
26
<remarks>To be added.</remarks>
27
27
</Docs>
28
28
<Members>
@@ -42,9 +42,9 @@
42
42
</AssemblyInfo>
43
43
<Parameters />
44
44
<Docs>
45
-
<summary>To be added.</summary>
45
+
<summary>Initializes a new instance of the <seecref="T:System.Runtime.CompilerServices.EnumeratorCancellationAttribute" /> class.</summary>
Copy file name to clipboardExpand all lines: xml/System.Runtime.CompilerServices/RuntimeFeature.xml
+5-5
Original file line number
Diff line number
Diff line change
@@ -76,9 +76,9 @@
76
76
<ReturnType>System.Boolean</ReturnType>
77
77
</ReturnValue>
78
78
<Docs>
79
-
<summary>To be added.</summary>
80
-
<value>To be added.</value>
81
-
<remarks>To be added.</remarks>
79
+
<summary></summary>
80
+
<value>Gets a value that determines whether the runtime compiles dynamic code.</value>
81
+
<remarks><seelangword="true" /> if the runtime compiles dynamic code; <seelangword="false" /> if it does not compile dynamic code or doesn't know about this property.</remarks>
82
82
</Docs>
83
83
</Member>
84
84
<MemberMemberName="IsDynamicCodeSupported">
@@ -104,8 +104,8 @@
104
104
<ReturnType>System.Boolean</ReturnType>
105
105
</ReturnValue>
106
106
<Docs>
107
-
<summary>To be added.</summary>
108
-
<value>To be added.</value>
107
+
<summary>Gets a value that determines whether the runtime supports dynamic code.</summary>
108
+
<value> <seelangword="true" /> if the runtime supports dynamic code; <seelangword="false" /> if it either doesn't support dynamic code or doesn't know about this property.</value>
<paramname="innerException">The exception that is the cause of the current exception. If the <paramrefname="innerException" /> parameter is not <seelangword="null" />, the current exception is raised in a <seelangword="catch" /> block that handles the inner exception.</param>
79
+
<summary>Initializes a new instance of the <seecref="T:System.Runtime.CompilerServices.SwitchExpressionException" /> class with a specified error message and a reference to the inner exception that is the cause of this exception.</summary>
80
80
<remarks>To be added.</remarks>
81
81
</Docs>
82
82
</Member>
@@ -100,8 +100,8 @@ A C# example of an expression that would throw this exception:
<paramname="unmatchedValue">The switch value that does not match any switch cases.</param>
104
+
<summary>Initializes a new instance of the <seecref="T:System.Runtime.CompilerServices.SwitchExpressionException" /> class with an unmatched switch value.</summary>
105
105
<remarks>To be added.</remarks>
106
106
</Docs>
107
107
</Member>
@@ -125,8 +125,8 @@ A C# example of an expression that would throw this exception:
125
125
<ParameterName="message"Type="System.String" />
126
126
</Parameters>
127
127
<Docs>
128
-
<paramname="message">To be added.</param>
129
-
<summary>To be added.</summary>
128
+
<paramname="message">The message to display to the end user.</param>
129
+
<summary>Initializes a new instance of the <seecref="T:System.Runtime.CompilerServices.SwitchExpressionException" /> class with the specified message.</summary>
130
130
<remarks>To be added.</remarks>
131
131
</Docs>
132
132
</Member>
@@ -151,9 +151,9 @@ A C# example of an expression that would throw this exception:
<paramname="message">The message to display to the end user.</param>
155
+
<paramname="innerException">A reference to the inner exception that is the cause of this exception.</param>
156
+
<summary>Initializes a new instance of the <seecref="T:System.Runtime.CompilerServices.SwitchExpressionException" /> class with the specified detailed description and the specified exception.</summary>
157
157
<remarks>To be added.</remarks>
158
158
</Docs>
159
159
</Member>
@@ -181,9 +181,9 @@ A C# example of an expression that would throw this exception:
<paramname="info">Stores the data that was being used to serialize or deserialize the object that the <seecref="T:System.ComponentModel.Design.Serialization.CodeDomSerializer" /> was serializing or deserializing.</param>
185
+
<paramname="context">Describes the source and destination of the stream that generated the exception, as well as a means for serialization to retain that context and an additional caller-defined context.</param>
186
+
<summary>Sets the <seecref="T:System.Runtime.Serialization.SerializationInfo" /> with the parameter name and additional exception information.</summary>
187
187
<remarks>To be added.</remarks>
188
188
</Docs>
189
189
</Member>
@@ -206,8 +206,8 @@ A C# example of an expression that would throw this exception:
206
206
<ReturnType>System.String</ReturnType>
207
207
</ReturnValue>
208
208
<Docs>
209
-
<summary>To be added.</summary>
210
-
<value>To be added.</value>
209
+
<summary>Gets the exception message.</summary>
210
+
<value>The complete message string.</value>
211
211
<remarks>To be added.</remarks>
212
212
</Docs>
213
213
</Member>
@@ -231,8 +231,8 @@ A C# example of an expression that would throw this exception:
231
231
<ReturnType>System.Object</ReturnType>
232
232
</ReturnValue>
233
233
<Docs>
234
-
<summary>To be added.</summary>
235
-
<value>To be added.</value>
234
+
<summary>Gets the unmatched value associated with the exception.</summary>
235
+
<value>The unmatched value causing the exception.</value>
0 commit comments