Skip to content

Commit 3f91840

Browse files
authored
Update UnsafeAccessorAttribute.xml
1 parent cd4c83e commit 3f91840

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xml/System.Runtime.CompilerServices/UnsafeAccessorAttribute.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The first argument must be passed as `ref` for instance fields and methods on st
4747
4848
The value of the first argument is not used by the implementation for `static` fields and methods and can be `null`.
4949
50-
The return value for an accessor to a field can be `ref` if setting of the field is desired.
50+
The return value for an accessor to a field must be passed as `ref`.
5151
5252
Constructors can be accessed using <xref:System.Runtime.CompilerServices.UnsafeAccessorKind.Constructor> or <xref:System.Runtime.CompilerServices.UnsafeAccessorKind.Method>.
5353

0 commit comments

Comments
 (0)