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)
644
bool fDstHasNull = fLiftDst || typeDst.
IsReferenceType
|| typeDst is PointerType;
Microsoft\CSharp\RuntimeBinder\Semantics\Conversions.cs (7)
29
typeSrc.
IsReferenceType
&& SymbolLoader.HasIdentityOrImplicitReferenceConversion(typeSrc, typeDst);
80
if (typeSrc.
IsReferenceType
&& typeDst.
IsReferenceType
)
194
else if (typeSrc.
IsReferenceType
)
200
else if (typeDst.
IsReferenceType
)
271
if (!pSourceArg.
IsReferenceType
|| !pTargetArg.
IsReferenceType
)
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (1)
522
else if ((pParamType.
IsReferenceType
|| pParamType is NullableType) && cv.IsNullRef)
Microsoft\CSharp\RuntimeBinder\Semantics\MethodTypeInferrer.cs (4)
1034
if (pElementSource.
IsReferenceType
)
1254
if (pSourceArg.
IsReferenceType
)
1385
if (pElementSource.
IsReferenceType
)
1561
if (pSourceArg.
IsReferenceType
)
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymbolLoader.cs (3)
171
if (pSource.
IsReferenceType
&& pDest.IsPredefType(PredefinedType.PT_OBJECT))
283
return pDest.
IsReferenceType
|| pDest is NullableType;
412
if (!pDest.
IsReferenceType
)
Microsoft\CSharp\RuntimeBinder\Semantics\TypeBind.cs (2)
169
if (var.HasRefConstraint && !arg.
IsReferenceType
)
227
if (arg.
IsReferenceType
)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeManager.cs (2)
695
if (!typeArg.
IsReferenceType
|| !((TypeParameterType)typeParams[i]).Covariant)
735
if (elementType.
IsReferenceType
)