Skip to content

Commit de735a8

Browse files
authored
Apply suggestions from code review
1 parent 8f18133 commit de735a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/System.Runtime.InteropServices/Marshal.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3946,7 +3946,7 @@ The code retrieves a reference to an instance of Microsoft Word successfully. Ho
39463946

39473947
You must manually keep the delegate from being collected by the garbage collector from managed code. The garbage collector does not track references to unmanaged code.
39483948

3949-
This API is unsupported in environments that do not support dynamic entrypoint allocation, such as ProcessDynamicCodePolicy on Windows or WebAssembly.
3949+
This API is unsupported in environments that do not support dynamic entrypoint allocation, such as `ProcessDynamicCodePolicy` on Windows, `execmem off` in SELinux, or WebAssembly.
39503950

39513951
It is recommended to use function pointers and (xref:System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute) instead. Function pointers are more efficient, easier to use correctly, and supported in all environments.
39523952

@@ -4020,7 +4020,7 @@ The code retrieves a reference to an instance of Microsoft Word successfully. Ho
40204020

40214021
You must manually keep the delegate from being collected by the garbage collector from managed code. The garbage collector does not track references to unmanaged code.
40224022

4023-
This API is unsupported in environments that do not support dynamic entrypoint allocation, such as ProcessDynamicCodePolicy on Windows or WebAssembly.
4023+
This API is unsupported in environments that do not support dynamic entrypoint allocation, such as `ProcessDynamicCodePolicy` on Windows, `execmem off` in SELinux, or WebAssembly.
40244024

40254025
It is recommended to use function pointers and (xref:System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute) instead. Function pointers are more efficient, easier to use correctly, and supported in all environments.
40264026
]]></format>

0 commit comments

Comments
 (0)