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