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.InteropServices/DllImportResolver.xml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@
39
39
40
40
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.
41
41
42
-
For each entry point, the resolver is called the first time PInvoke is used. The implementation of the callback may want to cache the `libraryName` to handle mapping to improve performance as long as the library isn't unloaded via <xref:System.Runtime.InteropServices.NativeLibrary.Free>, .
42
+
For each entry point, the resolver is called the first time PInvoke is used. The implementation of the resolver may want to cache the `libraryName` to handle mapping to improve performance as long as the library isn't unloaded via <xref:System.Runtime.InteropServices.NativeLibrary.Free>, .
0 commit comments