3 overrides of BaseType
ILCompiler.TypeSystem (3)
parent\parent\Common\TypeSystem\Common\ArrayType.cs (1)
31
public override DefType
BaseType
parent\parent\Common\TypeSystem\Common\MetadataType.cs (1)
75
public abstract override MetadataType
BaseType
{ get; }
parent\parent\Common\TypeSystem\RuntimeDetermined\RuntimeDeterminedType.cs (1)
79
public override DefType
BaseType
132 references to BaseType
ILCompiler.Compiler (82)
Compiler\Compilation.cs (1)
528
DefType runtimeDeterminedBaseTypeDefinition = runtimeDeterminedOwningType.GetTypeDefinition().
BaseType
;
Compiler\Dataflow\FlowAnnotations.cs (2)
354
DefType baseType = key.
BaseType
;
360
baseType = baseType.
BaseType
;
Compiler\Dataflow\HandleCallAction.cs (3)
690
type = type.
BaseType
;
709
if (type.Type.
BaseType
!= null)
711
baseType = new TypeProxy(type.Type.
BaseType
);
Compiler\Dataflow\ReflectionMethodBodyScanner.cs (2)
360
|| parameterType == context.GetWellKnownType(Internal.TypeSystem.WellKnownType.MulticastDelegate).
BaseType
;
417
|| parameterType == context.GetWellKnownType(Internal.TypeSystem.WellKnownType.MulticastDelegate).
BaseType
)
Compiler\DelegateCreationInfo.cs (1)
189
DefType systemDelegate = context.GetWellKnownType(WellKnownType.MulticastDelegate).
BaseType
;
Compiler\DependencyAnalysis\ConstructedEETypeNode.cs (3)
47
dependencyList.Add(factory.ConstructedTypeSymbol(_type.
BaseType
), "Array base type");
70
return _type.
BaseType
!= null ? factory.ConstructedTypeSymbol(_type.
BaseType
.NormalizeInstantiation()) : null;
Compiler\DependencyAnalysis\CustomAttributeBasedDependencyAlgorithm.cs (2)
207
TypeDesc baseType = attributeType.
BaseType
;
250
TypeDesc baseType = attributeType.
BaseType
;
Compiler\DependencyAnalysis\DataflowAnalyzedTypeDefinitionNode.cs (2)
38
if (type.
BaseType
.DoesTypeRequire(DiagnosticUtilities.RequiresUnreferencedCodeAttribute, out _) &&
42
needsDataflowAnalysis |= GenericArgumentDataFlow.RequiresGenericArgumentDataFlow(flowAnnotations, type.
BaseType
);
Compiler\DependencyAnalysis\EETypeNode.cs (9)
163
defType.
BaseType
.ResolveInterfaceMethodTarget(method) != slotDecl)
308
currentType = currentType.
BaseType
;
471
implType = implType.
BaseType
;
823
return _type.
BaseType
!= null ? factory.NecessaryTypeSymbol(_type.
BaseType
.NormalizeInstantiation()) : null;
862
TypeDesc baseType = _type.
BaseType
;
893
var baseType = declType.
BaseType
;
896
Debug.Assert(templateType.
BaseType
!= null);
897
OutputVirtualSlots(factory, ref objData, implType, baseType, templateType.
BaseType
, relocsOnly);
Compiler\DependencyAnalysis\InterfaceDispatchMapNode.cs (2)
143
TypeDesc declTypeBaseDefinition = declTypeDefinition.
BaseType
?.GetTypeDefinition();
196
implType = implType.
BaseType
;
Compiler\DependencyAnalysis\MetadataEETypeNode.cs (2)
82
return _type.
BaseType
!= null ? factory.MetadataTypeSymbol(_type.
BaseType
.NormalizeInstantiation()) : null;
Compiler\DependencyAnalysis\NativeLayoutVertexNode.cs (11)
976
if (_type.
BaseType
!= null && !_type.
BaseType
.IsRuntimeDeterminedSubtype)
978
TypeDesc baseType = _type.
BaseType
;
982
baseType = baseType.
BaseType
;
986
if (_type.
BaseType
!= null && _type.
BaseType
.IsRuntimeDeterminedSubtype)
988
yield return new DependencyListEntry(context.NativeLayout.PlacedSignatureVertex(context.NativeLayout.TypeSignatureVertex(_type.
BaseType
)), "template base type");
990
foreach (var dependency in context.NativeLayout.TemplateConstructableTypes(_type.
BaseType
))
1075
if (_type.
BaseType
!= null && _type.
BaseType
.IsRuntimeDeterminedSubtype)
1077
layoutInfo.Append(BagElementKind.BaseType, factory.NativeLayout.PlacedSignatureVertex(factory.NativeLayout.TypeSignatureVertex(_type.
BaseType
)).WriteVertex(factory));
Compiler\DependencyAnalysis\ReflectionVirtualInvokeMapNode.cs (2)
63
currentType = currentType.
BaseType
.GetTypeDefinition();
64
containingTypeOfDeclaringMethodForSlot = containingTypeOfDeclaringMethodForSlot.
BaseType
;
Compiler\DependencyAnalysis\SealedVTableNode.cs (1)
189
implType = implType.
BaseType
;
Compiler\DependencyAnalysis\VTableSliceNode.cs (1)
84
yield return new DependencyListEntry(factory.VTable(_type.
BaseType
), "Base type VTable");
Compiler\ILScanner.cs (10)
550
for (DefType @base = type.
BaseType
; @base != null; @base = @base.
BaseType
)
570
for (DefType @base = type.
BaseType
; @base != null; @base = @base.
BaseType
)
582
baseType = canonType.
BaseType
;
588
baseType = baseType.
BaseType
;
592
baseType = canonType.
BaseType
;
598
baseType = baseType.
BaseType
;
606
BuildVTable(factory, currentType.
BaseType
, implType, vtable);
618
baseType = type.
BaseType
;
Compiler\RootingHelpers.cs (1)
45
TypeDesc baseType = type.
BaseType
;
Compiler\TypePreinit.cs (1)
685
} while (allGcPointersAreReadonly && (currentType = currentType.
BaseType
) != null && !currentType.IsValueType);
Compiler\UsageBasedMetadataManager.cs (1)
451
DefType baseType = type.
BaseType
;
Compiler\VirtualMethodCallHelper.cs (4)
125
TypeDesc baseType = owningType.
BaseType
;
126
TypeDesc templateBaseType = owningType.ConvertToCanonForm(CanonicalFormKind.Specific).
BaseType
;
171
baseType = baseType.
BaseType
;
172
templateBaseType = templateBaseType.
BaseType
;
parent\parent\Common\Compiler\CompilerTypeSystemContext.Validation.cs (2)
362
if (type.
BaseType
!= null)
364
((CompilerTypeSystemContext)type.Context).EnsureLoadableType(type.
BaseType
);
parent\parent\Common\Compiler\Dataflow\DynamicallyAccessedMembersBinder.cs (4)
179
type = type.
BaseType
;
298
type = type.
BaseType
;
366
type = type.
BaseType
;
507
return type.
BaseType
;
parent\parent\Common\Compiler\DependencyAnalysis\GVMDependenciesNode.cs (2)
223
overrideTypeCur = overrideTypeCur.
BaseType
;
265
currentType = currentType.
BaseType
;
parent\parent\Common\Compiler\DevirtualizationManager.cs (1)
182
for (checkType = implType; checkType != null && !checkType.HasSameTypeDefinition(declMethod.OwningType); checkType = checkType.
BaseType
)
parent\parent\Common\Compiler\TypeExtensions.cs (6)
305
for (TypeDesc searchType = ta; searchType != null; searchType = searchType.
BaseType
)
310
for (TypeDesc searchType = tb; searchType != null; searchType = searchType.
BaseType
)
319
ta = ta.
BaseType
;
325
tb = tb.
BaseType
;
331
ta = ta.
BaseType
;
332
tb = tb.
BaseType
;
parent\parent\Common\Internal\Runtime\EETypeBuilderHelpers.cs (2)
280
type = type.
BaseType
;
297
type = type.
BaseType
;
parent\parent\Common\TypeSystem\IL\Stubs\DelegateMethodILEmitter.cs (1)
50
TypeDesc delegateType = context.GetWellKnownType(WellKnownType.MulticastDelegate).
BaseType
;
parent\parent\Common\TypeSystem\IL\Stubs\DelegateThunks.cs (1)
66
return Context.GetWellKnownType(WellKnownType.MulticastDelegate).
BaseType
;
parent\parent\Common\TypeSystem\Interop\IL\MarshalUtils.cs (1)
19
DefType baseType = type.
BaseType
;
parent\parent\Common\TypeSystem\Interop\InteropTypes.cs (1)
176
type = type.
BaseType
;
ILCompiler.ReadyToRun (34)
Compiler\DependencyAnalysis\InheritedVirtualMethodsNode.cs (1)
166
currentType = currentType.
BaseType
;
Compiler\DependencyAnalysis\ReadyToRun\DevirtualizationManager.cs (4)
145
while (!typeThatDerivesFromObject.
BaseType
.IsObject)
147
typeThatDerivesFromObject = typeThatDerivesFromObject.
BaseType
;
196
for (TypeDesc typeExamine = resolvedVirtualMethod.OwningType; typeExamine != null; typeExamine = typeExamine.
BaseType
)
217
type = type.
BaseType
;
Compiler\ProfileDataManager.cs (1)
463
implemented = implemented.
BaseType
;
Compiler\ReadyToRunCodegenCompilation.cs (2)
673
type = type.
BaseType
;
688
type = type.
BaseType
;
Compiler\ReadyToRunCompilationModuleGroupBase.cs (3)
338
if ((type.
BaseType
!= null) && !type.
BaseType
.IsObject && !type.IsValueType)
340
moduleDependencySet.UnionWith(this, TypeLayoutCompilationUnits(type.
BaseType
));
JitInterface\CorInfoImpl.ReadyToRun.cs (6)
240
currentType = currentType.
BaseType
;
286
currentType = currentType.
BaseType
;
294
currentType = currentType.
BaseType
;
303
currentType = currentType.
BaseType
;
3179
else if (_compilation.IsInheritanceChainLayoutFixedInCurrentVersionBubble(pMT.
BaseType
))
3189
else if (TypeCannotUseBasePlusOffsetEncoding(pMT.
BaseType
as MetadataType))
parent\parent\Common\Compiler\CompilerTypeSystemContext.Validation.cs (2)
362
if (type.
BaseType
!= null)
364
((CompilerTypeSystemContext)type.Context).EnsureLoadableType(type.
BaseType
);
parent\parent\Common\Compiler\Dataflow\DynamicallyAccessedMembersBinder.cs (4)
179
type = type.
BaseType
;
298
type = type.
BaseType
;
366
type = type.
BaseType
;
507
return type.
BaseType
;
parent\parent\Common\Compiler\DependencyAnalysis\GVMDependenciesNode.cs (1)
223
overrideTypeCur = overrideTypeCur.
BaseType
;
parent\parent\Common\Compiler\DevirtualizationManager.cs (1)
182
for (checkType = implType; checkType != null && !checkType.HasSameTypeDefinition(declMethod.OwningType); checkType = checkType.
BaseType
)
parent\parent\Common\Compiler\TypeExtensions.cs (6)
305
for (TypeDesc searchType = ta; searchType != null; searchType = searchType.
BaseType
)
310
for (TypeDesc searchType = tb; searchType != null; searchType = searchType.
BaseType
)
319
ta = ta.
BaseType
;
325
tb = tb.
BaseType
;
331
ta = ta.
BaseType
;
332
tb = tb.
BaseType
;
parent\parent\Common\JitInterface\CorInfoImpl.cs (1)
4817
queryType = queryType.
BaseType
;
parent\parent\Common\TypeSystem\Interop\IL\MarshalUtils.cs (1)
19
DefType baseType = type.
BaseType
;
parent\parent\Common\TypeSystem\Interop\InteropTypes.cs (1)
176
type = type.
BaseType
;
ILCompiler.RyuJit (1)
parent\parent\Common\JitInterface\CorInfoImpl.cs (1)
4817
queryType = queryType.
BaseType
;
ILCompiler.TypeSystem (15)
parent\parent\Common\TypeSystem\Common\BaseTypeRuntimeInterfacesAlgorithm.cs (1)
26
return _type.
BaseType
.RuntimeInterfaces;
parent\parent\Common\TypeSystem\Common\CastingHelper.cs (2)
560
curType = curType.
BaseType
;
584
curType = curType.
BaseType
;
parent\parent\Common\TypeSystem\Common\DefType.FieldLayout.cs (1)
585
if (!IsValueType && HasBaseType &&
BaseType
.ContainsGCPointers)
parent\parent\Common\TypeSystem\Common\InstantiatedType.cs (1)
211
typeInHierarchy = typeInHierarchy.
BaseType
;
parent\parent\Common\TypeSystem\Common\MetadataVirtualMethodAlgorithm.cs (2)
447
DefType currentType = method.OwningType.
BaseType
;
458
currentType = currentType.
BaseType
;
parent\parent\Common\TypeSystem\Common\TypeDesc.cs (2)
252
var baseType = this.
BaseType
;
462
return
BaseType
!= null;
parent\parent\Common\TypeSystem\Common\TypeSystemHelpers.cs (3)
155
targetOrBase = targetOrBase.
BaseType
;
299
currentType = currentType.
BaseType
;
319
currentType = currentType.
BaseType
;
parent\parent\Common\TypeSystem\Ecma\EcmaModule.cs (2)
634
var baseType = typeDescToInspect.
BaseType
;
645
Instantiation newSubstitution = typeDescToInspect.GetTypeDefinition().
BaseType
.Instantiation;
parent\parent\Common\TypeSystem\RuntimeDetermined\RuntimeDeterminedType.cs (1)
83
return _rawCanonType.
BaseType
;