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/UnmanagedCallersOnlyAttribute.xml
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -27,10 +27,9 @@
27
27
## Remarks
28
28
29
29
Methods marked with this attribute have the following restrictions:
30
-
* Method must be marked "static".
31
-
* Must not be called from managed code.
32
-
* Must only have <see href="https://docs.microsoft.com/dotnet/framework/interop/blittable-and-non-blittable-types">blittable</see> arguments.
33
-
30
+
* Method must be marked `static`.
31
+
* Must not be called from managed code.
32
+
* Must only have [blittable](https://docs.microsoft.com/dotnet/framework/interop/blittable-and-non-blittable-types) arguments.
34
33
]]></format>
35
34
</remarks>
36
35
</Docs>
@@ -75,7 +74,10 @@ Methods marked with this attribute have the following restrictions:
75
74
## Remarks
76
75
77
76
Supplied types must be from the official <xref:System.Runtime.CompilerServices> namespace and be of the form `CallConvXXX`.
78
-
77
+
78
+
The "default platform calling convention" is generally unambiguous for all supported platforms except x86-based platforms. The x86 defaults are as follows:
79
+
* Windows - [stdcall](https://docs.microsoft.com/cpp/cpp/stdcall)
0 commit comments