Skip to content

Commit febc591

Browse files
committed
Edits based on suggestions
Replace normative language, and updates.
1 parent 0e8b988 commit febc591

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

standard/conversions.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ An implicit conversion exists from the `null` literal to any reference type or n
155155
156156
The implicit reference conversions are:
157157
158+
- A null literal conversion10.2.7) to any reference-type.
158159
- From any *reference_type* to `object` and `dynamic`.
159160
- From any *class_type* `S` to any *class_type* `T`, provided `S` is derived from `T`.
160161
- From any *class_type* `S` to any *interface_type* `T`, provided `S` implements `T`.
@@ -169,8 +170,6 @@ The implicit reference conversions are:
169170
- From any *reference_type* to an interface or delegate type `T` if it has an implicit identity or reference conversion to an interface or delegate type `T₀` and `T₀` is variance-convertible ([§19.2.3.3](interfaces.md#19233-variance-conversion)) to `T`.
170171
- Implicit conversions involving type parameters that are known to be reference types. See10.2.12](conversions.md#10212-implicit-conversions-involving-type-parameters) for more details on implicit conversions involving type parameters.
171172
172-
> *Note*: A null literal conversion ([§10.2.7](conversions.md#1027-null-literal-conversions)) to a reference type is also classified as an implicit reference conversion. *end note*
173-
174173
The implicit reference conversions are those conversions between *reference_type*s that can be proven to always succeed, and therefore require no checks at run-time.
175174
176175
Reference conversions, implicit or explicit, never change the referential identity of the object being converted.

0 commit comments

Comments
 (0)