4 overrides of IsReferenceType
Microsoft.CSharp (4)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\AggregateType.cs (1)
208
public override bool
IsReferenceType
=> OwningAggregate.IsRefType();
Microsoft\CSharp\RuntimeBinder\Semantics\Types\ArrayType.cs (1)
45
public override bool
IsReferenceType
=> true;
Microsoft\CSharp\RuntimeBinder\Semantics\Types\NullType.cs (1)
19
public override bool
IsReferenceType
=> true;
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeParameterType.cs (1)
40
public override bool
IsReferenceType
=> Symbol.IsReferenceType();
20 references to IsReferenceType
Microsoft.CSharp (20)
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (1)
671
bool fDstHasNull = fLiftDst || typeDst.
IsReferenceType
|| typeDst is PointerType;
Microsoft\CSharp\RuntimeBinder\Semantics\Conversions.cs (7)
30
typeSrc.
IsReferenceType
&& SymbolLoader.HasIdentityOrImplicitReferenceConversion(typeSrc, typeDst);
82
if (typeSrc.
IsReferenceType
&& typeDst.
IsReferenceType
)
196
else if (typeSrc.
IsReferenceType
)
202
else if (typeDst.
IsReferenceType
)
275
if (!pSourceArg.
IsReferenceType
|| !pTargetArg.
IsReferenceType
)
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (1)
523
else if ((pParamType.
IsReferenceType
|| pParamType is NullableType) && cv.IsNullRef)
Microsoft\CSharp\RuntimeBinder\Semantics\MethodTypeInferrer.cs (4)
1035
if (pElementSource.
IsReferenceType
)
1255
if (pSourceArg.
IsReferenceType
)
1386
if (pElementSource.
IsReferenceType
)
1562
if (pSourceArg.
IsReferenceType
)
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymbolLoader.cs (3)
180
if (pSource.
IsReferenceType
&& pDest.IsPredefType(PredefinedType.PT_OBJECT))
292
return pDest.
IsReferenceType
|| pDest is NullableType;
426
if (!pDest.
IsReferenceType
)
Microsoft\CSharp\RuntimeBinder\Semantics\TypeBind.cs (2)
173
if (var.HasRefConstraint && !arg.
IsReferenceType
)
231
if (arg.
IsReferenceType
)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeManager.cs (2)
722
if (!typeArg.
IsReferenceType
|| !((TypeParameterType)typeParams[i]).Covariant)
763
if (elementType.
IsReferenceType
)