Skip to content

Commit 898b202

Browse files
ZenexerRon Petrusha
authored andcommitted
Fix copy-paste error in MemoryMarshal.TryWrite (#2805)
1 parent 8d239e9 commit 898b202

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/System.Runtime.InteropServices/MemoryMarshal.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,7 @@ This method allows a read-only memory buffer to be used in existing APIs that re
989989
]]></format>
990990
</remarks>
991991
<exception cref="T:System.ArgumentException">
992-
<paramref name="TFrom" /> or <paramref name="TTo" /> contains references or pointers.</exception>
992+
<paramref name="T" /> contains references or pointers.</exception>
993993
</Docs>
994994
</Member>
995995
<Member MemberName="Write&lt;T&gt;">
@@ -1047,4 +1047,4 @@ This method allows a read-only memory buffer to be used in existing APIs that re
10471047
</Docs>
10481048
</Member>
10491049
</Members>
1050-
</Type>
1050+
</Type>

0 commit comments

Comments
 (0)