1 write to _type
ILCompiler.Compiler (1)
Compiler\DependencyAnalysis\NativeLayoutVertexNode.cs (1)
884_type = GetActualTemplateTypeForType(factory, type);
29 references to _type
ILCompiler.Compiler (29)
Compiler\DependencyAnalysis\NativeLayoutVertexNode.cs (29)
875public TypeDesc CanonType => _type.ConvertToCanonForm(CanonicalFormKind.Specific); 877protected override string GetName(NodeFactory factory) => "NativeLayoutTemplateTypeLayoutVertexNode_" + factory.NameMangler.GetMangledTypeName(_type); 905MetadataType closestCanonDefType = (MetadataType)_type.GetClosestDefType().ConvertToCanonForm(CanonicalFormKind.Specific); 915MetadataType closestCanonDefType = (MetadataType)_type.GetClosestDefType().ConvertToCanonForm(CanonicalFormKind.Specific); 925ISymbolNode typeNode = context.MaximallyConstructableType(_type.ConvertToCanonForm(CanonicalFormKind.Specific)); 929foreach (var dependency in context.NativeLayout.TemplateConstructableTypes(_type)) 934yield return new DependencyListEntry(context.GenericDictionaryLayout(_type.ConvertToCanonForm(CanonicalFormKind.Specific).GetClosestDefType()), "Dictionary layout"); 936foreach (TypeDesc iface in _type.RuntimeInterfaces) 946if (context.PreinitializationManager.HasLazyStaticConstructor(_type.ConvertToCanonForm(CanonicalFormKind.Specific))) 948yield return new DependencyListEntry(context.MethodEntrypoint(_type.GetStaticConstructor().GetCanonMethodTarget(CanonicalFormKind.Specific)), "cctor for template"); 951foreach (GenericParameterDesc genericParam in _type.GetTypeDefinition().Instantiation) 960DefType closestCanonDefType = (DefType)_type.GetClosestDefType().ConvertToCanonForm(CanonicalFormKind.Specific); 971if (_type.BaseType != null && !_type.BaseType.IsRuntimeDeterminedSubtype) 973TypeDesc baseType = _type.BaseType; 981if (_type.BaseType != null && _type.BaseType.IsRuntimeDeterminedSubtype) 983yield return new DependencyListEntry(context.NativeLayout.PlacedSignatureVertex(context.NativeLayout.TypeSignatureVertex(_type.BaseType)), "template base type"); 985foreach (var dependency in context.NativeLayout.TemplateConstructableTypes(_type.BaseType)) 1001DictionaryLayoutNode associatedLayout = factory.GenericDictionaryLayout(_type.ConvertToCanonForm(CanonicalFormKind.Specific).GetClosestDefType()); 1005if (_type.RuntimeInterfaces.Length > 0) 1009foreach (TypeDesc iface in _type.RuntimeInterfaces) 1018if (!factory.LazyGenericsPolicy.UsesLazyGenerics(_type) && templateLayout.Count > 0) 1032if (factory.PreinitializationManager.HasLazyStaticConstructor(_type.ConvertToCanonForm(CanonicalFormKind.Specific))) 1034MethodDesc cctorMethod = _type.GetStaticConstructor(); 1041DefType closestCanonDefType = (DefType)_type.GetClosestDefType().ConvertToCanonForm(CanonicalFormKind.Specific); 1063if (_type.BaseType != null && _type.BaseType.IsRuntimeDeterminedSubtype) 1065layoutInfo.Append(BagElementKind.BaseType, factory.NativeLayout.PlacedSignatureVertex(factory.NativeLayout.TypeSignatureVertex(_type.BaseType)).WriteVertex(factory));