1 write to _type
ILCompiler.Compiler (1)
Compiler\DependencyAnalysis\NativeLayoutVertexNode.cs (1)
889_type = GetActualTemplateTypeForType(factory, type);
29 references to _type
ILCompiler.Compiler (29)
Compiler\DependencyAnalysis\NativeLayoutVertexNode.cs (29)
880public TypeDesc CanonType => _type.ConvertToCanonForm(CanonicalFormKind.Specific); 882protected override string GetName(NodeFactory factory) => "NativeLayoutTemplateTypeLayoutVertexNode_" + factory.NameMangler.GetMangledTypeName(_type); 910MetadataType closestCanonDefType = (MetadataType)_type.GetClosestDefType().ConvertToCanonForm(CanonicalFormKind.Specific); 920MetadataType closestCanonDefType = (MetadataType)_type.GetClosestDefType().ConvertToCanonForm(CanonicalFormKind.Specific); 930ISymbolNode typeNode = context.MaximallyConstructableType(_type.ConvertToCanonForm(CanonicalFormKind.Specific)); 934foreach (var dependency in context.NativeLayout.TemplateConstructableTypes(_type)) 939yield return new DependencyListEntry(context.GenericDictionaryLayout(_type.ConvertToCanonForm(CanonicalFormKind.Specific).GetClosestDefType()), "Dictionary layout"); 941foreach (TypeDesc iface in _type.RuntimeInterfaces) 951if (context.PreinitializationManager.HasLazyStaticConstructor(_type.ConvertToCanonForm(CanonicalFormKind.Specific))) 953yield return new DependencyListEntry(context.MethodEntrypoint(_type.GetStaticConstructor().GetCanonMethodTarget(CanonicalFormKind.Specific)), "cctor for template"); 956foreach (GenericParameterDesc genericParam in _type.GetTypeDefinition().Instantiation) 965DefType closestCanonDefType = (DefType)_type.GetClosestDefType().ConvertToCanonForm(CanonicalFormKind.Specific); 976if (_type.BaseType != null && !_type.BaseType.IsRuntimeDeterminedSubtype) 978TypeDesc baseType = _type.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)) 1011DictionaryLayoutNode associatedLayout = factory.GenericDictionaryLayout(_type.ConvertToCanonForm(CanonicalFormKind.Specific).GetClosestDefType()); 1015if (_type.RuntimeInterfaces.Length > 0) 1019foreach (TypeDesc iface in _type.RuntimeInterfaces) 1028if (!factory.LazyGenericsPolicy.UsesLazyGenerics(_type) && templateLayout.Count > 0) 1042if (factory.PreinitializationManager.HasLazyStaticConstructor(_type.ConvertToCanonForm(CanonicalFormKind.Specific))) 1044MethodDesc cctorMethod = _type.GetStaticConstructor(); 1051DefType closestCanonDefType = (DefType)_type.GetClosestDefType().ConvertToCanonForm(CanonicalFormKind.Specific); 1075if (_type.BaseType != null && _type.BaseType.IsRuntimeDeterminedSubtype) 1077layoutInfo.Append(BagElementKind.BaseType, factory.NativeLayout.PlacedSignatureVertex(factory.NativeLayout.TypeSignatureVertex(_type.BaseType)).WriteVertex(factory));