ECMA-334 C# Language Specification13.1.4: Implicit reference conversions |
The implicit reference conversions are:
reference-type
to object. class-type
S to any class-type
T, provided S is derived from T. class-type
S to any interface-type
T, provided S implements T. interface-type
S to any interface-type
T, provided S is derived from T. array-type
S with an element type SE to an array-type
T with an element type TE, provided all of the following are true: reference-type
s. array-type
to System.Array. delegate-type
to System.Delegate. array-type
or delegate-type
to System.ICloneable. reference-type
. 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.
Reference conversions, implicit or explicit, never change the referential identity of the object being converted.