Skip to content

Commit 6a43574

Browse files
committed
Fix langword references
1 parent 88e3234 commit 6a43574

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

xml/System.Runtime.CompilerServices/UnsafeAccessorTypeAttribute.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@
5353
<para>This attribute should only be applied to parameters or return types of methods that are typed as follows:</para>
5454
<para>
5555
<ul>
56-
<li>References should be typed as <lang>object</lang>.</li>
57-
<li>Byref arguments should be typed with <lang>in</lang>, <lang>ref</lang>, or <lang>out</lang> to <lang>object</lang>.</li>
58-
<li>Unmanaged pointers should be typed as <lang>void*</lang>.</li>
59-
<li>Byref arguments to reference types or arrays should be typed with <lang>in</lang>, <lang>ref</lang>, or <lang>out</lang> to <lang>object</lang>.</li>
60-
<li>Byref arguments to unmanaged pointer types should be typed with <lang>in</lang>, <lang>ref</lang>, or <lang>out</lang> to <lang>void*</lang>.</li>
56+
<li>References should be typed as <see langword="object" />.</li>
57+
<li>Byref arguments should be typed with <see langword="in" />, <see langword="ref" />, or <see langword="out" /> to <see langword="object" />.</li>
58+
<li>Unmanaged pointers should be typed as <see langword="void*" />.</li>
59+
<li>Byref arguments to reference types or arrays should be typed with <see langword="in" />, <see langword="ref" />, or <see langword="out" /> to <see langword="object" />.</li>
60+
<li>Byref arguments to unmanaged pointer types should be typed with <see langword="in" />, <see langword="ref" />, or <see langword="out" /> to <see langword="void*" />.</li>
6161
</ul> Value types are not supported.</para>
6262
<para>Due to lack of variance for byrefs, returns involving byrefs are not supported. This specifically means that accessors for fields of inaccessible types are not supported.</para>
6363
</remarks>

0 commit comments

Comments
 (0)