67 references to IsDefType
ILCompiler.Compiler (35)
Compiler\CompilerTypeSystemContext.Aot.cs (1)
96
(elementType.
IsDefType
&& !elementType.IsValueType))
Compiler\Dataflow\FlowAnnotations.cs (1)
271
if (!type.
IsDefType
)
Compiler\Dataflow\HandleCallAction.cs (2)
307
if (systemTypeValue.RepresentedType.Type.
IsDefType
)
427
if (staticType is null || (!staticType.
IsDefType
&& !staticType.IsArray))
Compiler\DependencyAnalysis\DictionaryLayoutNode.cs (1)
41
Debug.Assert(type.
IsDefType
);
Compiler\DependencyAnalysis\EETypeNode.cs (2)
351
if (_type.
IsDefType
&& _type != canonOwningType)
637
if (_type.IsArray || _type.
IsDefType
)
Compiler\DependencyAnalysis\InterfaceDispatchMapNode.cs (1)
73
if (!type.IsArray && !type.
IsDefType
)
Compiler\DependencyAnalysis\NativeLayoutVertexNode.cs (1)
337
Debug.Assert(type.
IsDefType
);
Compiler\DependencyAnalysis\TypeMetadataNode.cs (1)
146
Debug.Assert(type.
IsDefType
);
Compiler\DependencyAnalysis\VariantInterfaceMethodUseNode.cs (2)
89
(elementType.
IsDefType
&& !elementType.IsValueType);
137
(elementType.
IsDefType
&& !elementType.IsValueType);
Compiler\MetadataManager.cs (1)
1194
Debug.Assert(type.
IsDefType
);
Compiler\MultiFileCompilationModuleGroup.cs (1)
117
return owningType.
IsDefType
&& !owningType.HasInstantiation && !method.HasInstantiation;
Compiler\RootingHelpers.cs (1)
52
if (type.
IsDefType
)
Compiler\TypePreinit.cs (1)
573
if (!owningType.
IsDefType
)
Compiler\UsageBasedMetadataManager.cs (2)
415
if (type.
IsDefType
&& !type.IsInterface && FlowAnnotations.GetTypeAnnotation(type) != default)
429
bool allocatedWithFlowAnnotations = allocated && type.
IsDefType
&& FlowAnnotations.GetTypeAnnotation(type) != default;
Compiler\UserDefinedTypeDescriptor.cs (3)
59
Debug.Assert(type.
IsDefType
);
264
if ((type.
IsDefType
&& !type.IsValueType) || type.IsArray)
334
else if (type.
IsDefType
)
parent\parent\Common\Compiler\CompilerTypeSystemContext.Validation.cs (1)
322
Debug.Assert(type.
IsDefType
);
parent\parent\Common\Compiler\DependencyAnalysis\GVMDependenciesNode.cs (1)
106
if (!potentialOverrideType.
IsDefType
|| potentialOverrideType.IsInterface)
parent\parent\Common\Compiler\DevirtualizationManager.cs (1)
33
Debug.Assert(type.
IsDefType
);
parent\parent\Common\Compiler\TypeExtensions.cs (4)
204
if (type1.
IsDefType
|| type2.
IsDefType
)
262
Debug.Assert(ta.
IsDefType
);
263
Debug.Assert(tb.
IsDefType
);
parent\parent\Common\Internal\Runtime\EETypeBuilderHelpers.cs (2)
82
if (type.
IsDefType
119
else if (type.
IsDefType
)
parent\parent\Common\Internal\Runtime\GCDescEncoder.cs (2)
29
else if (elementType.
IsDefType
)
85
else if (elementType.
IsDefType
)
parent\parent\Common\TypeSystem\IL\DelegateInfo.cs (1)
179
Debug.Assert(firstParam.
IsDefType
);
parent\parent\Common\TypeSystem\Interop\IL\MarshalUtils.cs (1)
14
if (!type.
IsDefType
)
src\runtime\src\coreclr\tools\Common\Compiler\GenericCycleDetection\GraphBuilder.ForEach.cs (1)
53
Debug.Assert(type.
IsDefType
);
ILCompiler.MetadataTransform (2)
ILCompiler\Metadata\Transform.cs (1)
50
Debug.Assert(type.
IsDefType
);
ILCompiler\Metadata\Transform.Type.cs (1)
67
Debug.Assert(type.
IsDefType
);
ILCompiler.ReadyToRun (16)
Compiler\DependencyAnalysis\InheritedVirtualMethodsNode.cs (1)
29
Debug.Assert(type.
IsDefType
&& !type.IsInterface);
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (1)
239
type.
IsDefType
&&
JitInterface\CorInfoImpl.ReadyToRun.cs (2)
907
Debug.Assert(type.
IsDefType
);
3098
if (!type.
IsDefType
)
parent\parent\Common\Compiler\CompilerTypeSystemContext.Validation.cs (1)
322
Debug.Assert(type.
IsDefType
);
parent\parent\Common\Compiler\DependencyAnalysis\GVMDependenciesNode.cs (1)
106
if (!potentialOverrideType.
IsDefType
|| potentialOverrideType.IsInterface)
parent\parent\Common\Compiler\DevirtualizationManager.cs (1)
33
Debug.Assert(type.
IsDefType
);
parent\parent\Common\Compiler\TypeExtensions.cs (4)
204
if (type1.
IsDefType
|| type2.
IsDefType
)
262
Debug.Assert(ta.
IsDefType
);
263
Debug.Assert(tb.
IsDefType
);
parent\parent\Common\JitInterface\CorInfoImpl.cs (3)
2435
Debug.Assert(type.
IsDefType
);
2449
Debug.Assert(type.
IsDefType
);
3210
if (!type.
IsDefType
)
parent\parent\Common\TypeSystem\Interop\IL\MarshalUtils.cs (1)
14
if (!type.
IsDefType
)
src\runtime\src\coreclr\tools\Common\Compiler\GenericCycleDetection\GraphBuilder.ForEach.cs (1)
53
Debug.Assert(type.
IsDefType
);
ILCompiler.RyuJit (4)
JitInterface\CorInfoImpl.RyuJit.cs (1)
1104
else if (type.
IsDefType
)
parent\parent\Common\JitInterface\CorInfoImpl.cs (3)
2435
Debug.Assert(type.
IsDefType
);
2449
Debug.Assert(type.
IsDefType
);
3210
if (!type.
IsDefType
)
ILCompiler.TypeSystem (10)
parent\parent\Common\TypeSystem\Canon\StandardCanonicalizationAlgorithm.cs (1)
100
else if (typeToConvert.
IsDefType
)
parent\parent\Common\TypeSystem\Common\CastingHelper.cs (2)
252
Debug.Assert(thisType.
IsDefType
);
297
if (otherType.
IsDefType
)
parent\parent\Common\TypeSystem\Common\CastingHelper.TypeEquivalence.cs (1)
52
Debug.Assert(thisType.
IsDefType
);
parent\parent\Common\TypeSystem\Common\MetadataFieldLayoutAlgorithm.cs (1)
1147
if (fieldType.
IsDefType
)
parent\parent\Common\TypeSystem\Common\TypeSystemContext.cs (1)
667
if (type.
IsDefType
)
parent\parent\Common\TypeSystem\Common\TypeSystemHelpers.cs (1)
424
else if (type.
IsDefType
)
parent\parent\Common\TypeSystem\Common\Utilities\TypeNameFormatter.cs (1)
42
Debug.Assert(type.
IsDefType
);
parent\parent\Common\TypeSystem\IL\ILDisassembler.cs (1)
448
&& type.
IsDefType
parent\parent\Common\TypeSystem\RuntimeDetermined\RuntimeDeterminedCanonicalizationAlgorithm.cs (1)
90
else if (typeToConvert.
IsDefType
)