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