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.Reflection/Assembly.xml
+11-4Lines changed: 11 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -3076,9 +3076,16 @@
3076
3076
<ReturnType>System.Boolean</ReturnType>
3077
3077
</ReturnValue>
3078
3078
<Docs>
3079
-
<summary>To be added.</summary>
3080
-
<value>To be added.</value>
3081
-
<remarks>To be added.</remarks>
3079
+
<summary>Gets a value that indicates whether this assembly is held in a collectible <seecref="T:System.Runtime.Loader.AssemblyLoadContext" />.</summary>
3080
+
<value><seelangword="true" /> if this assembly is held in a collectible <seecref="T:System.Runtime.Loader.AssemblyLoadContext" />; otherwise, <seelangword="false" />.</value>
3081
+
<remarks>
3082
+
<formattype="text/markdown"><![CDATA[
3083
+
3084
+
## Remarks
3085
+
For more information see <see href="/en-us/dotnet/standard/assembly/unloadability-howto">How to use and debug assembly unloadability in .NET Core</see>.
3086
+
3087
+
]]></format>
3088
+
</remarks>
3082
3089
</Docs>
3083
3090
</Member>
3084
3091
<MemberMemberName="IsDefined">
@@ -5770,4 +5777,4 @@ The ability to execute code in remote assemblies is disabled. See <see href="htt
Copy file name to clipboardExpand all lines: xml/System.Reflection/MemberInfo.xml
+11-4Lines changed: 11 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -591,9 +591,16 @@
591
591
<ReturnType>System.Boolean</ReturnType>
592
592
</ReturnValue>
593
593
<Docs>
594
-
<summary>To be added.</summary>
595
-
<value>To be added.</value>
596
-
<remarks>To be added.</remarks>
594
+
<summary>Gets a value that indicates whether this <seecref="T:System.Reflection.MemberInfo" /> object is part of an assembly held in a collectible <seecref="T:System.Runtime.Loader.AssemblyLoadContext" />.</summary>
595
+
<value><seelangword="true" /> if the <seecref="T:System.Reflection.MemberInfo" /> is part of an assembly held in a collectible assembly load context; otherwise, <seelangword="false" />.</value>
596
+
<remarks>
597
+
<formattype="text/markdown"><![CDATA[
598
+
599
+
## Remarks
600
+
For more information see <see href="/en-us/dotnet/standard/assembly/unloadability-howto">How to use and debug assembly unloadability in .NET Core</see>.
<paramname="isCollectible"><seelangword="true" /> to enable garbage collection; otherwise, <seelangword="false" />.</param>
127
+
<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>
126
128
<remarks>To be added.</remarks>
127
129
</Docs>
128
130
</Member>
@@ -239,9 +241,16 @@ This constructor is protected. It can only be called from the <xref:System.Runti
239
241
<ReturnType>System.Boolean</ReturnType>
240
242
</ReturnValue>
241
243
<Docs>
242
-
<summary>To be added.</summary>
243
-
<value>To be added.</value>
244
-
<remarks>To be added.</remarks>
244
+
<summary>Gets a value that indicates whether this <seecref="T:System.Runtime.Loader.AssemblyLoadContext" /> is collectible.</summary>
245
+
<value><seelangword="true" /> if this <seecref="T:System.Runtime.Loader.AssemblyLoadContext" /> is collectible; otherwise, <seelangword="false" />. If a value is not specified in the constructor, the value is <seelangword="false" />.</value>
246
+
<remarks>
247
+
<formattype="text/markdown"><![CDATA[
248
+
249
+
## Remarks
250
+
For more information see <see href="/en-us/dotnet/standard/assembly/unloadability-howto">How to use and debug assembly unloadability in .NET Core</see>.
251
+
252
+
]]></format>
253
+
</remarks>
245
254
</Docs>
246
255
</Member>
247
256
<MemberMemberName="Load">
@@ -720,8 +729,19 @@ This constructor is protected. It can only be called from the <xref:System.Runti
720
729
</ReturnValue>
721
730
<Parameters />
722
731
<Docs>
723
-
<summary>To be added.</summary>
724
-
<remarks>To be added.</remarks>
732
+
<summary>Initiates an unload of this <seecref="T:System.Runtime.Loader.AssemblyLoadContext" />.</summary>
733
+
<remarks>
734
+
<formattype="text/markdown"><![CDATA[
735
+
736
+
## Remarks
737
+
738
+
+ An AssemblyLoadContext can only be unloaded if it is collectible.
739
+
+ Unloading will occur asynchronously.
740
+
+ Unloading will not occur while there are references to the AssemblyLoadContext.
741
+
742
+
]]></format>
743
+
</remarks>
744
+
<exceptioncref="T:System.InvalidOperationException">Unloading is not allowed.</exception>
725
745
</Docs>
726
746
</Member>
727
747
<MemberMemberName="Unloading">
@@ -747,9 +767,9 @@ This constructor is protected. It can only be called from the <xref:System.Runti
0 commit comments