43 references to IsTypeDefinition
ILCompiler.Compiler (29)
Compiler\Dataflow\CompilerGeneratedCallGraph.cs (2)
40
Debug.Assert(toType.
IsTypeDefinition
);
47
Debug.Assert(fromType.
IsTypeDefinition
);
Compiler\Dataflow\CompilerGeneratedState.cs (3)
188
Debug.Assert(generatedType.
IsTypeDefinition
);
229
Debug.Assert(generatedType.
IsTypeDefinition
);
632
Debug.Assert(type.
IsTypeDefinition
);
Compiler\Dataflow\FlowAnnotations.cs (1)
341
Debug.Assert(key.
IsTypeDefinition
);
Compiler\DependencyAnalysis\DataflowAnalyzedTypeDefinitionNode.cs (1)
24
Debug.Assert(typeDefinition.
IsTypeDefinition
);
Compiler\DependencyAnalysis\EETypeNode.cs (3)
473
if (!implType.
IsTypeDefinition
)
1133
if (!_type.
IsTypeDefinition
)
1229
Debug.Assert(_type.
IsTypeDefinition
|| !_type.HasSameTypeDefinition(context.ArrayOfTClass), "Asking for Array<T> MethodTable");
Compiler\DependencyAnalysis\GenericVarianceNode.cs (1)
79
Debug.Assert(typeDefinition.
IsTypeDefinition
);
Compiler\DependencyAnalysis\InterfaceDispatchMapNode.cs (3)
95
InstantiatedType interfaceOnDefinitionType = interfaceType.
IsTypeDefinition
?
183
if (!interfaceType.
IsTypeDefinition
)
199
if (!implType.
IsTypeDefinition
)
Compiler\DependencyAnalysis\InterfaceUseNode.cs (1)
25
Debug.Assert(type.
IsTypeDefinition
);
Compiler\DependencyAnalysis\SealedVTableNode.cs (2)
174
if (!interfaceType.
IsTypeDefinition
)
192
if (!implType.
IsTypeDefinition
)
Compiler\DependencyAnalysis\TypeGVMEntriesNode.cs (1)
48
Debug.Assert(associatedType.
IsTypeDefinition
);
Compiler\DependencyAnalysis\TypeMetadataNode.cs (1)
30
Debug.Assert(type.
IsTypeDefinition
);
Compiler\MetadataBlockingPolicy.cs (1)
36
Debug.Assert(type.
IsTypeDefinition
);
Compiler\MetadataManager.cs (2)
838
MetadataType definition = type.
IsTypeDefinition
? type as MetadataType : null;
1140
Debug.Assert(type.
IsTypeDefinition
);
Compiler\UsageBasedMetadataManager.cs (1)
489
if (type.HasInstantiation && !type.
IsTypeDefinition
&& !IsReflectionBlocked(type))
parent\parent\Common\Compiler\CachingVirtualMethodAlgorithm.cs (1)
26
Debug.Assert(type.
IsTypeDefinition
);
parent\parent\Common\Compiler\CompilerTypeSystemContext.BoxedTypes.cs (1)
263
Debug.Assert(valuetype.
IsTypeDefinition
);
parent\parent\Common\TypeSystem\IL\DelegateInfo.cs (1)
109
Debug.Assert(delegateType.
IsTypeDefinition
);
parent\parent\Common\TypeSystem\IL\Stubs\DelegateMethodILEmitter.cs (1)
17
Debug.Assert(method.OwningType.
IsTypeDefinition
);
parent\parent\Common\TypeSystem\Interop\IL\InlineArrayType.cs (1)
175
Debug.Assert(elementType.
IsTypeDefinition
);
parent\parent\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (1)
213
if (type.
IsTypeDefinition
&& type is MetadataType metadataType)
ILCompiler.MetadataTransform (7)
ILCompiler\Metadata\MetadataTransformResult.cs (3)
55
Debug.Assert(type.
IsTypeDefinition
);
72
Debug.Assert(type.
IsTypeDefinition
);
113
Debug.Assert(field.OwningType.
IsTypeDefinition
);
ILCompiler\Metadata\Transform.cs (1)
52
if (!type.
IsTypeDefinition
)
ILCompiler\Metadata\Transform.Type.cs (3)
69
if (!type.
IsTypeDefinition
)
215
Debug.Assert(entity.
IsTypeDefinition
);
231
Debug.Assert(entity.
IsTypeDefinition
);
ILCompiler.ReadyToRun (4)
Compiler\ReadyToRunCompilationModuleGroupBase.cs (1)
559
if ((method.GetMethodDefinition() == method) && method.OwningType.
IsTypeDefinition
)
parent\parent\Common\Compiler\CachingVirtualMethodAlgorithm.cs (1)
26
Debug.Assert(type.
IsTypeDefinition
);
parent\parent\Common\Compiler\CompilerTypeSystemContext.BoxedTypes.cs (1)
263
Debug.Assert(valuetype.
IsTypeDefinition
);
parent\parent\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (1)
213
if (type.
IsTypeDefinition
&& type is MetadataType metadataType)
ILCompiler.TypeSystem (3)
parent\parent\Common\TypeSystem\Common\TypeDesc.cs (1)
678
return HasInstantiation &&
IsTypeDefinition
;
parent\parent\Common\TypeSystem\Common\Utilities\TypeNameFormatter.cs (2)
50
if (!type.
IsTypeDefinition
)
105
if (!type.
IsTypeDefinition
)