Skip to content

Commit 23975a0

Browse files
BillWagnerjskeet
authored andcommitted
Add in to modifiers in unsafe code
This change from #941 should be made in 7.3
1 parent 4b64b5d commit 23975a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

standard/unsafe-code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ An expression with a pointer type cannot be used to provide the value in a *memb
180180
181181
The default value ([§9.3](variables.md#93-default-values)) for any pointer type is `null`.
182182
183-
> *Note*: Although pointers can be passed as `ref` or `out` parameters, doing so can cause undefined behavior, since the pointer might well be set to point to a local variable that no longer exists when the called method returns, or the fixed object to which it used to point, is no longer fixed. For example:
183+
> *Note*: Although pointers can be passed as `in`, `ref` or `out` parameters, doing so can cause undefined behavior, since the pointer might well be set to point to a local variable that no longer exists when the called method returns, or the fixed object to which it used to point, is no longer fixed. For example:
184184
>
185185
> <!-- Example: {template:"standalone-console-without-using", name:"PointerTypes1", replaceEllipsis:true} -->
186186
> <!-- Note: the behavior of this example is undefined. -->

0 commit comments

Comments
 (0)