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
Copy file name to clipboardExpand all lines: xml/System.Runtime.Loader/AssemblyLoadContext+ContextualReflectionScope.xml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@
18
18
</Interface>
19
19
</Interfaces>
20
20
<Docs>
21
-
<summary>To be added.</summary>
21
+
<summary>Return type used exclusively for <seecref="M:System.Runtime.Loader.AssemblyLoadContext.EnterContextualReflection" />. Intended to be used as an <seecref="T:System.IDisposable" /> in a <seelangword="using" /> block.</summary>
22
22
<remarks>To be added.</remarks>
23
23
</Docs>
24
24
<Members>
@@ -42,9 +42,9 @@
42
42
</ReturnValue>
43
43
<Parameters />
44
44
<Docs>
45
-
<summary>To be added.</summary>
45
+
<summary>Sets <seecref="P:System.Runtime.Loader.AssemblyLoadContext.CurrentContextualReflectionContext" /> to the value preceding the call to <seecref="M:System.Runtime.Loader.AssemblyLoadContext.EnterContextualReflection" /> which returned this instance.</summary>
Copy file name to clipboardExpand all lines: xml/System.Runtime.Loader/AssemblyLoadContext.xml
+50-20Lines changed: 50 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -126,7 +126,15 @@ This constructor is protected. It can only be called from the <xref:System.Runti
126
126
<paramname="isCollectible">
127
127
<seelangword="true" /> to enable garbage collection; otherwise, <seelangword="false" />.</param>
128
128
<summary>Initializes a new instance of the <seecref="T:System.Runtime.Loader.AssemblyLoadContext" /> class with a value that indicates whether garbage collection is enabled. </summary>
129
-
<remarks>To be added.</remarks>
129
+
<remarks>
130
+
<formattype="text/markdown"><![CDATA[
131
+
132
+
## Remarks
133
+
134
+
This constructor is protected. It can only be called from the <xref:System.Runtime.Loader.AssemblyLoadContext> class or its derived classes.
135
+
136
+
]]></format>
137
+
</remarks>
130
138
</Docs>
131
139
</Member>
132
140
<MemberMemberName=".ctor">
@@ -145,9 +153,10 @@ This constructor is protected. It can only be called from the <xref:System.Runti
<paramname="name">Value for <seecref="P:System.Runtime.Loader.AssemblyLoadContext.Name" /> in the new instance. Value can be <seelangword="null" />.</param>
157
+
<paramname="isCollectible">
158
+
<seelangword="true" /> to enable garbage collection; otherwise, <seelangword="false" />.</param>
159
+
<summary>Initializes a new instance of the <seecref="T:System.Runtime.Loader.AssemblyLoadContext" /> class with a name and a value that indicates whether garbage collection is enabled.</summary>
151
160
<remarks>To be added.</remarks>
152
161
</Docs>
153
162
</Member>
@@ -167,8 +176,8 @@ This constructor is protected. It can only be called from the <xref:System.Runti
<summary>Returns an IEnumerable for the <seecref="T:System.Reflection.Assembly" /> instances loaded in the <seecref="T:System.Runtime.Loader.AssemblyLoadContext" />.</summary>
201
+
<value>An IEnumerable for the <seecref="T:System.Reflection.Assembly" /> instances loaded in the <seecref="T:System.Runtime.Loader.AssemblyLoadContext" />.</value>
193
202
<remarks>To be added.</remarks>
194
203
</Docs>
195
204
</Member>
@@ -209,9 +218,16 @@ This constructor is protected. It can only be called from the <xref:System.Runti
<summary>The <seecref="T:System.Runtime.Loader.AssemblyLoadContext" /> set by most recent call to <seecref="M:System.Runtime.Loader.AssemblyLoadContext.EnterContextualReflection" />.</summary>
222
+
<value>The <seecref="T:System.Runtime.Loader.AssemblyLoadContext" /> set by most recent call to <seecref="M:System.Runtime.Loader.AssemblyLoadContext.EnterContextualReflection" />. Value can be <seelangword="null" />. The value is stored in an <seecref="T:System.Threading.AsyncLocal`1" />, so the value is unique per asynchronous context.</value>
223
+
<remarks>
224
+
<formattype="text/markdown"><.
228
+
229
+
]]></format>
230
+
</remarks>
215
231
</Docs>
216
232
</Member>
217
233
<MemberMemberName="Default">
@@ -259,9 +275,16 @@ This constructor is protected. It can only be called from the <xref:System.Runti
259
275
</ReturnValue>
260
276
<Parameters />
261
277
<Docs>
262
-
<summary>To be added.</summary>
263
-
<returns>To be added.</returns>
264
-
<remarks>To be added.</remarks>
278
+
<summary>Sets <seecref="P:System.Runtime.Loader.AssemblyLoadContext.CurrentContextualReflectionContext" /> to <seelangword="this" /> <seecref="T:System.Runtime.Loader.AssemblyLoadContext" />.</summary>
279
+
<returns>A <seecref="T:System.Runtime.Loader.AssemblyLoadContext.ContextualReflectionScope" /> to restore the previous value of <seecref="P:System.Runtime.Loader.AssemblyLoadContext.CurrentContextualReflectionContext" />. Intended to be used as an <seecref="T:System.IDisposable" /> in a <seelangword="using" /> block.</returns>
280
+
<remarks>
281
+
<formattype="text/markdown"><.
285
+
286
+
]]></format>
287
+
</remarks>
265
288
</Docs>
266
289
</Member>
267
290
<MemberMemberName="EnterContextualReflection">
@@ -283,10 +306,17 @@ This constructor is protected. It can only be called from the <xref:System.Runti
<paramname="activating">Assembly which will be used to determine the requested <seecref="T:System.Runtime.Loader.AssemblyLoadContext" /> instance.</param>
310
+
<summary>Sets <seecref="P:System.Runtime.Loader.AssemblyLoadContext.CurrentContextualReflectionContext" /> to the <seecref="T:System.Runtime.Loader.AssemblyLoadContext" /> which loaded activating.</summary>
311
+
<returns>A <seecref="T:System.Runtime.Loader.AssemblyLoadContext.ContextualReflectionScope" /> to restore the previous value of <seecref="P:System.Runtime.Loader.AssemblyLoadContext.CurrentContextualReflectionContext" />. Intended to be used as an <seecref="T:System.IDisposable" /> in a <seelangword="using" /> block.</returns>
312
+
<remarks>
313
+
<formattype="text/markdown"><.
317
+
318
+
]]></format>
319
+
</remarks>
290
320
</Docs>
291
321
</Member>
292
322
<MemberMemberName="GetAssemblyName">
@@ -739,8 +769,8 @@ For more information, see [How to use and debug assembly unloadability in .NET C
739
769
<ReturnType>System.String</ReturnType>
740
770
</ReturnValue>
741
771
<Docs>
742
-
<summary>To be added.</summary>
743
-
<value>To be added.</value>
772
+
<summary>Optional name of the <seecref="T:System.Runtime.Loader.AssemblyLoadContext" />.</summary>
773
+
<value>Optional name of the <seecref="T:System.Runtime.Loader.AssemblyLoadContext" />. Value can be <seelangword="null" />.</value>
0 commit comments