2 overrides of IsNonNullableValueType
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\AggregateType.cs (1)
210
public override bool
IsNonNullableValueType
=> IsValueType;
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeParameterType.cs (1)
42
public override bool
IsNonNullableValueType
=> Symbol.IsNonNullableValueType();
10 references to IsNonNullableValueType
Microsoft.CSharp (10)
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (4)
785
if (fLiftSrc && (fDstHasNull || !fNeedImplicit) && typeFrom.
IsNonNullableValueType
)
787
if (fLiftDst && typeTo.
IsNonNullableValueType
)
916
if (fLiftSrc && typeFrom.
IsNonNullableValueType
)
922
if (fLiftDst && typeTo.
IsNonNullableValueType
)
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (2)
624
else if (typeParam.
IsNonNullableValueType
&&
625
TypeManager.SubstType(methCur.RetType, atsCur).
IsNonNullableValueType
&&
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (3)
2468
if (!Params[0].
IsNonNullableValueType
|| !Params[1].
IsNonNullableValueType
)
2474
if (!typeRet.
IsNonNullableValueType
)
Microsoft\CSharp\RuntimeBinder\Semantics\TypeBind.cs (1)
196
if (!arg.
IsNonNullableValueType
)