Skip to content

Commit 8eae963

Browse files
authored
Update xml/System.Runtime.InteropServices/DllImportResolver.xml
1 parent fb8b92b commit 8eae963

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xml/System.Runtime.InteropServices/DllImportResolver.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
4040
The runtime does not do any lifetime management around the handle returned by a <xref:System.Runtime.InteropServices.DllImportResolver>. It is left to the implementation and consuming code to keep the library loaded for as long as necessary and free it if/when desired.
4141
42-
For each entry point, the resolver is called the first time PInvoke is used. To improve performance, the implementation of the resolver can cache the `libraryName` to handle mapping, as long as the library isn't unloaded via <xref:System.Runtime.InteropServices.NativeLibrary.Free(System.IntPtr)>.
42+
The resolver is typically called once for each PInvoke entry point. To improve performance, the implementation of the resolver can cache the `libraryName` to handle mapping, as long as the library isn't unloaded via <xref:System.Runtime.InteropServices.NativeLibrary.Free(System.IntPtr)>.
4343
4444
]]></format>
4545
</remarks>

0 commit comments

Comments
 (0)