Skip to content

Commit 18da88d

Browse files
author
Ron Petrusha
authored
Fixed broken link (#2745)
* Fixed broken link * Fixed additional broken xref * Fixed link
1 parent 4e9ca02 commit 18da88d

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

xml/System.Runtime.InteropServices/NativeLibrary.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ This is a simple wrapper around OS calls and does not perform any name mangling.
136136
Given a library name, this method searches specific paths based on the runtime configuration, input parameters, and attributes of the calling assembly. If the `searchPath` parameter is non-null, the flags in this enumeration are used. Otherwise, the flags specified by the <xref:System.Runtime.InteropServices.DefaultDllImportSearchPathsAttribute> on the calling assembly, if any are present, are used. This method does not invoke the following managed callbacks for native library resolution:
137137
138138
- The per-assembly registered callback.
139-
- <xref:System.Runtime.Loader.AssemblyLoadContext.LoadUnmanagedDll%2A?displayProperty=nameWithType>.
140-
- <xref:System.Runtime.Loader.AssemblyLoadContext.ResolvingUnmanagedDllEvent?displayProperty=nameWithType>.
139+
- The <xref:System.Runtime.Loader.AssemblyLoadContext.LoadUnmanagedDll%2A?displayProperty=nameWithType> method.
140+
- The <xref:System.Runtime.Loader.AssemblyLoadContext.ResolvingUnmanagedDll?displayProperty=nameWithType> event.
141141
142142
]]></format>
143143
</remarks>

xml/System.Runtime.Loader/AssemblyLoadContext.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -836,8 +836,14 @@ Each <xref:System.Runtime.Loader.AssemblyLoadContext> can load only:
836836
<ReturnType>System.Func&lt;System.Reflection.Assembly,System.String,System.IntPtr&gt;</ReturnType>
837837
</ReturnValue>
838838
<Docs>
839-
<summary>To be added.</summary>
840-
<remarks>To be added.</remarks>
839+
<summary>Occurs when the resolution of a native library fails.</summary>
840+
<remarks>
841+
<format type="text/markdown"><![CDATA[
842+
843+
This event is raised if the native library cannot be resolved by the default resolution logic (including <xref:System.Runtime.Loader.AssemblyLoadContext.LoadUnmanagedDll%2A>).
844+
845+
]]></format>
846+
</remarks>
841847
</Docs>
842848
</Member>
843849
<Member MemberName="SetProfileOptimizationRoot">

0 commit comments

Comments
 (0)