Skip to content

Commit 8799119

Browse files
Missing doc for UnmanagedCallersOnlyAttribute.CallConvs. (#4764)
* Missing doc for UnmanagedCallersOnlyAttribute.CallConvs. * Update xml/System.Runtime.InteropServices/UnmanagedCallersOnlyAttribute.xml Co-authored-by: Carlos Sanchez <[email protected]> Co-authored-by: Carlos Sanchez <[email protected]>
1 parent d13b64f commit 8799119

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

xml/System.Runtime.InteropServices/UnmanagedCallersOnlyAttribute.xml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,16 @@ Methods marked with this attribute have the following restrictions:
6868
<ReturnType>System.Type[]</ReturnType>
6969
</ReturnValue>
7070
<Docs>
71-
<summary>To be added.</summary>
72-
<remarks>To be added.</remarks>
71+
<summary>Optional. If omitted, the runtime will use the default platform calling convention.</summary>
72+
<remarks>
73+
<format type="text/markdown"><![CDATA[
74+
75+
## Remarks
76+
77+
Supplied types must be from the official <xref:System.Runtime.CompilerServices> namespace and be of the form `CallConvXXX`.
78+
79+
]]></format>
80+
</remarks>
7381
</Docs>
7482
</Member>
7583
<Member MemberName="EntryPoint">

0 commit comments

Comments
 (0)