35 references to IsNullable
ILCompiler.Compiler (15)
Compiler\Compilation.cs (3)
350if (type.IsNullable) 410if (!type.IsRuntimeDeterminedType || !((RuntimeDeterminedType)type).CanonicalType.IsNullable) 412if (type.IsNullable)
Compiler\DependencyAnalysis\EETypeNode.cs (1)
844if (_type.IsArray && parameterType.IsValueType && !parameterType.IsNullable)
Compiler\DependencyAnalysis\GenericLookupResult.cs (1)
380if (instantiatedType.IsNullable)
Compiler\DependencyAnalysis\NodeFactory.GenericLookups.cs (2)
128if (type.IsRuntimeDeterminedType && ((RuntimeDeterminedType)type).CanonicalType.IsNullable) 133if (type.IsNullable)
Compiler\MetadataManager.cs (1)
406if (owningType.IsNullable)
Compiler\TypePreinit.cs (2)
1690if (type.IsNullable) 3565if (!type.IsValueType || type.IsNullable)
IL\ILImporter.Scanner.cs (1)
1600if (type.IsNullable)
parent\parent\Common\Internal\Runtime\EETypeBuilderHelpers.cs (1)
245if (type.IsNullable)
parent\parent\Common\TypeSystem\IL\NativeAotILProvider.cs (1)
259if (elementType.IsNullable)
parent\parent\Common\TypeSystem\IL\Stubs\ComparerIntrinsics.cs (2)
91if (type.IsNullable) 173if (type.IsNullable)
ILCompiler.ReadyToRun (9)
JitInterface\CorInfoImpl.ReadyToRun.cs (2)
931if (type.IsNullable) 944if (type.IsNullable)
parent\parent\Common\JitInterface\CorInfoImpl.cs (5)
2888var typeForBox = type.IsNullable ? type.Instantiation[0] : type; 2900return type.IsNullable ? CorInfoHelpFunc.CORINFO_HELP_BOX_NULLABLE : CorInfoHelpFunc.CORINFO_HELP_BOX; 2907return type.IsNullable ? CorInfoHelpFunc.CORINFO_HELP_UNBOX_NULLABLE : CorInfoHelpFunc.CORINFO_HELP_UNBOX; 3087else if (toType.IsNullable) 3261return type.IsNullable ? TypeCompareState.Must : TypeCompareState.MustNot;
parent\parent\Common\TypeSystem\IL\Stubs\ComparerIntrinsics.cs (2)
91if (type.IsNullable) 173if (type.IsNullable)
ILCompiler.RyuJit (6)
JitInterface\CorInfoImpl.RyuJit.cs (1)
2271if (type.IsNullable)
parent\parent\Common\JitInterface\CorInfoImpl.cs (5)
2888var typeForBox = type.IsNullable ? type.Instantiation[0] : type; 2900return type.IsNullable ? CorInfoHelpFunc.CORINFO_HELP_BOX_NULLABLE : CorInfoHelpFunc.CORINFO_HELP_BOX; 2907return type.IsNullable ? CorInfoHelpFunc.CORINFO_HELP_UNBOX_NULLABLE : CorInfoHelpFunc.CORINFO_HELP_UNBOX; 3087else if (toType.IsNullable) 3261return type.IsNullable ? TypeCompareState.Must : TypeCompareState.MustNot;
ILCompiler.TypeSystem (5)
parent\parent\Common\TypeSystem\Common\CastingHelper.cs (3)
172bool isCastFromNullableOfTtoT = thisType.IsNullable && otherType.IsEquivalentTo(thisType.Instantiation[0], visited); 574if (otherType.IsNullable && !curType.IsNullable)
parent\parent\Common\TypeSystem\Common\TypeSystemConstraintsHelpers.cs (2)
49if ((!instantiationParam.IsValueType || instantiationParam.IsNullable) 112if (constraint.IsValueType && !constraint.IsNullable)