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