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