Skip to content

Commit e78a4cc

Browse files
committed
Mark API as unsupported
1 parent 3610c3e commit e78a4cc

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

xml/System.Reflection/Assembly.xml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5061,20 +5061,15 @@ The ability to execute code in remote assemblies is disabled. See <see href="htt
50615061
<param name="hashAlgorithm">The hash algorithm used for hashing files and for generating the strong name.</param>
50625062
<summary>Loads an assembly given its file name or path, hash value, and hash algorithm.</summary>
50635063
<returns>The loaded assembly.</returns>
5064-
<remarks FrameworkAlternate="netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;net-5.0;net-6.0;net-7.0;net-8.0;net-9.0">
5064+
<remarks>
50655065
<format type="text/markdown"><![CDATA[
50665066

50675067
## Remarks
50685068

5069-
This API is present in .NET Core for compatibility, but it is recommended to use <xref:System.Reflection.AssemblyLoadContext> overloads in .NET Core 2.0 and later.
5069+
This API is not supported in .NET Core 2.0 or later. It will always throw <xref:System.NotSupportedException>.
50705070

5071-
The assembly is loaded into the default AssemblyLoadContext.
5072-
]]></format>
5073-
</remarks>
5074-
<remarks FrameworkAlternate="netframework-1.1;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netstandard-2.0;netstandard-2.1netframework-4.8.1">
5075-
<format type="text/markdown"><![CDATA[
5071+
The assembly is loaded into the default AssemblyLoadContext.
50765072

5077-
## Remarks
50785073
The `assemblyFile` parameter must refer to a URI without escape characters. This method supplies escape characters for all invalid characters in the URI.
50795074

50805075
> [!NOTE]

0 commit comments

Comments
 (0)