Skip to content

Commit ccec8c9

Browse files
RexJaeschkeBillWagner
authored andcommitted
fix md formatting
1 parent 3322142 commit ccec8c9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

standard/variables.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,9 @@ The default value of a variable depends on the type of the variable and is deter
199199
- For a variable of a *reference_type* or a reference variable, the default value is `null`.
200200
201201
> *Note*: Initialization to default values is typically done by having the memory manager or garbage collector initialize memory to all-bits-zero before it is allocated for use. For this reason, it is convenient to use all-bits-zero to represent the null reference. *end note*
202+
<!-- markdownlint-disable MD028 -->
202203
204+
<!-- markdownlint-enable MD028 -->
203205
> *Note*: To test if a ref variable has been assigned a referent, call `System.Runtime.CompilerServices.Unsafe.IsNullRef(ref fieldName)`. One cannot test a ref variable to see if it has been assigned a referent by using `fieldName == null`, as that tests the value of the (potentially non-existent) referent, not the reference itself. *end note*
204206
205207
## 9.4 Definite assignment

0 commit comments

Comments
 (0)