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.CompilerServices/UnsafeAccessorAttribute.xml
+1-1
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ The first argument must be passed as `ref` for instance fields and methods on st
44
44
45
45
The value of the first argument is not used by the implementation for `static` fields and methods and can be `null`.
46
46
47
-
The return value for an accessor to a field can be `ref` if setting of the field is desired.
47
+
The return value for an accessor to a field must be passed as `ref`.
48
48
49
49
Constructors can be accessed using <xref:System.Runtime.CompilerServices.UnsafeAccessorKind.Constructor> or <xref:System.Runtime.CompilerServices.UnsafeAccessorKind.Method>.
0 commit comments