1 write to NativeLayout
ILCompiler.Compiler (1)
Compiler\DependencyAnalysis\NodeFactory.cs (1)
635NativeLayout = new NativeLayoutHelper(this);
95 references to NativeLayout
ILCompiler.Compiler (95)
Compiler\DependencyAnalysis\CodeBasedDependencyAlgorithm.cs (1)
59dependencies.Add(factory.NativeLayout.TemplateTypeLayout(templateType), "Generic comparer");
Compiler\DependencyAnalysis\DictionaryLayoutNode.cs (2)
161templateLayout = factory.NativeLayout.TemplateMethodLayout((MethodDesc)_owningMethodOrType); 165templateLayout = factory.NativeLayout.TemplateTypeLayout((TypeDesc)_owningMethodOrType);
Compiler\DependencyAnalysis\EETypeNode.cs (1)
355factory.NativeLayout.TemplateTypeLayout(canonOwningType),
Compiler\DependencyAnalysis\ExternalTypeMapNode.cs (2)
55context.NativeLayout.TemplateTypeLayout(canonTrimmingType), 68context.NativeLayout.TemplateTypeLayout(canonElementType),
Compiler\DependencyAnalysis\GCStaticsNode.cs (1)
81factory.NativeLayout.TemplateTypeLayout(_type.ConvertToCanonForm(CanonicalFormKind.Specific)),
Compiler\DependencyAnalysis\GenericLookupResult.cs (15)
225return factory.NativeLayout.TypeHandleDictionarySlot(_type); 283return factory.NativeLayout.TypeHandleDictionarySlot(_type); 341return factory.NativeLayout.TypeHandleDictionarySlot(_type); 404return factory.NativeLayout.UnwrapNullableTypeDictionarySlot(_type); 469return factory.NativeLayout.MethodLdTokenDictionarySlot(_method); 525return factory.NativeLayout.FieldLdTokenDictionarySlot(_field); 589return factory.NativeLayout.MethodDictionaryDictionarySlot(_method); 662return factory.NativeLayout.MethodEntrypointDictionarySlot( 751return factory.NativeLayout.InterfaceCellDictionarySlot(_method); 808return factory.NativeLayout.NonGcStaticDictionarySlot(_type); 864return factory.NativeLayout.ThreadStaticBaseIndexDictionarySlotNode(_type); 921return factory.NativeLayout.GcStaticDictionarySlot(_type); 976return factory.NativeLayout.AllocateObjectDictionarySlot(_type); 1029return factory.NativeLayout.DefaultConstructorDictionarySlot(_type); 1156return factory.NativeLayout.ConstrainedMethodUse(_constrainedMethod, _constraintType, _directCall);
Compiler\DependencyAnalysis\GenericMethodsTemplateMap.cs (3)
56var layoutNode = factory.NativeLayout.TemplateMethodLayout(methodEntryNode.Method); 81dependencies.Add(new DependencyListEntry(factory.NativeLayout.TemplateMethodEntry(method), "Template Method Entry")); 82dependencies.Add(new DependencyListEntry(factory.NativeLayout.TemplateMethodLayout(method), "Template Method Layout"));
Compiler\DependencyAnalysis\GenericTypesTemplateMap.cs (2)
53NativeLayoutTemplateTypeLayoutVertexNode templateNode = factory.NativeLayout.TemplateTypeLayout(type); 80dependencies.Add(new DependencyListEntry(factory.NativeLayout.TemplateTypeLayout(templateType), "Template Type Layout"));
Compiler\DependencyAnalysis\GenericVirtualMethodImplNode.cs (2)
57dependencies.Add(factory.NativeLayout.TemplateMethodEntry(_method), "GVM Dependency - Template entry"); 58dependencies.Add(factory.NativeLayout.TemplateMethodLayout(_method), "GVM Dependency - Template");
Compiler\DependencyAnalysis\InterfaceGenericVirtualMethodTableNode.cs (4)
74var currentInterfaceSignature = factory.NativeLayout.TypeSignatureVertex(currentInterface); 75dependencies.Add(new DependencyListEntry(factory.NativeLayout.PlacedSignatureVertex(currentInterfaceSignature), "interface gvm table interface signature")); 209var typeSig = factory.NativeLayout.PlacedSignatureVertex(factory.NativeLayout.TypeSignatureVertex(currentInterface));
Compiler\DependencyAnalysis\NativeLayoutVertexNode.cs (54)
120_containingTypeSig = factory.NativeLayout.TypeSignatureVertex(method.OwningType); 125_instantiationArgsSig[i] = factory.NativeLayout.TypeSignatureVertex(method.Instantiation[i]); 265_returnTypeSig = factory.NativeLayout.TypeSignatureVertex(signature.ReturnType); 268_parametersSig[i] = factory.NativeLayout.TypeSignatureVertex(signature[i]); 353_parameterTypeSig = factory.NativeLayout.TypeSignatureVertex(((ParameterizedType)type).ParameterType); 397_sig = factory.NativeLayout.MethodSignatureVertex(((FunctionPointerType)type).Signature); 447_genericTypeDefSig = factory.NativeLayout.TypeSignatureVertex(type.GetTypeDefinition()); 450_instantiationArgs[i] = factory.NativeLayout.TypeSignatureVertex(type.Instantiation[i]); 686foreach (var dependency in context.NativeLayout.TemplateConstructableTypes(arg)) 693foreach (var dependency in context.NativeLayout.TemplateConstructableTypes(_method.OwningType)) 750new DependencyListEntry(context.NativeLayout.TypeSignatureVertex((TypeDesc)_owningMethodOrType), "DeclaringType signature"), 786signature = nativeWriter.GetTuple(factory.NativeLayout.TypeSignatureVertex((TypeDesc)_owningMethodOrType).WriteVertex(factory), sequence); 817foreach (var dependency in context.NativeLayout.TemplateConstructableTypes(_method.OwningType)) 824foreach (var dependency in context.NativeLayout.TemplateConstructableTypes(type)) 865NativeLayoutPlacedVertexSequenceVertexNode dictionaryLayout = factory.NativeLayout.PlacedVertexSequence(dictionaryVertices); 934foreach (var dependency in context.NativeLayout.TemplateConstructableTypes(_type)) 943yield return new DependencyListEntry(context.NativeLayout.TypeSignatureVertex(iface), "template interface list"); 945foreach (var dependency in context.NativeLayout.TemplateConstructableTypes(iface)) 988yield return new DependencyListEntry(context.NativeLayout.PlacedSignatureVertex(context.NativeLayout.TypeSignatureVertex(_type.BaseType)), "template base type"); 990foreach (var dependency in context.NativeLayout.TemplateConstructableTypes(_type.BaseType)) 1021implementedInterfacesList.Add(factory.NativeLayout.TypeSignatureVertex(iface)); 1023NativeLayoutPlacedVertexSequenceVertexNode implementedInterfaces = factory.NativeLayout.PlacedVertexSequence(implementedInterfacesList); 1037NativeLayoutPlacedVertexSequenceVertexNode dictionaryLayout = factory.NativeLayout.PlacedVertexSequence(dictionaryVertices); 1077layoutInfo.Append(BagElementKind.BaseType, factory.NativeLayout.PlacedSignatureVertex(factory.NativeLayout.TypeSignatureVertex(_type.BaseType)).WriteVertex(factory)); 1108_signature = factory.NativeLayout.TypeSignatureVertex(type); 1119foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(_type)) 1193_signature = factory.NativeLayout.TypeSignatureVertex(type); 1207foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(_type)) 1244_signature = factory.NativeLayout.TypeSignatureVertex(method.OwningType); 1264foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(method.OwningType)) 1298foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(_method.OwningType)) 1305foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(type)) 1311dependencies.Add(factory.NativeLayout.MethodEntry(_method), "wrappednode"); 1318return factory.NativeLayout.MethodEntry(_method).WriteVertex(factory); 1340{ factory.NativeLayout.TypeSignatureVertex(_field.OwningType), "Owning type of field" } 1343foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(_field.OwningType)) 1357Vertex owningType = factory.NativeLayout.TypeSignatureVertex(_field.OwningType).WriteVertex(factory); 1382foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(_method.OwningType)) 1389foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(type)) 1400result.Add(factory.NativeLayout.MethodEntry(_method), "wrappednode"); 1407return factory.NativeLayout.MethodEntry(_method).WriteVertex(factory); 1451constrainedMethodDescriptorNode = factory.NativeLayout.MethodEntry(_constrainedMethod); 1455constrainedMethodDescriptorNode = factory.NativeLayout.TypeSignatureVertex(_constrainedMethod.OwningType); 1458yield return new DependencyListEntry(factory.NativeLayout.TypeSignatureVertex(_constraintType), "ConstraintType"); 1462foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(_constrainedMethod.OwningType)) 1469foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(type)) 1473foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(_constraintType)) 1485Vertex constraintType = factory.NativeLayout.TypeSignatureVertex(_constraintType).WriteVertex(factory); 1489Vertex constrainedMethodVertex = factory.NativeLayout.MethodEntry(_constrainedMethod).WriteVertex(factory); 1495Vertex methodType = factory.NativeLayout.TypeSignatureVertex(_constrainedMethod.OwningType).WriteVertex(factory); 1544foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(_method.OwningType)) 1551foreach (var dependency in factory.NativeLayout.TemplateConstructableTypes(type))
Compiler\DependencyAnalysis\NodeFactory.NativeLayout.cs (2)
161yield return _factory.NativeLayout.TemplateTypeLayout(arrayCanonicalType); 193yield return _factory.NativeLayout.TemplateTypeLayout(canonicalType);
Compiler\DependencyAnalysis\NonGCStaticsNode.cs (1)
155factory.NativeLayout.TemplateTypeLayout(_type.ConvertToCanonForm(CanonicalFormKind.Specific)),
Compiler\DependencyAnalysis\ProxyTypeMapNode.cs (1)
57context.NativeLayout.TemplateTypeLayout(canonKey),
Compiler\DependencyAnalysis\ReadyToRunGenericHelperNode.cs (2)
245templateLayout = factory.NativeLayout.TemplateMethodLayout((MethodDesc)_dictionaryOwner); 252templateLayout = factory.NativeLayout.TemplateTypeLayout((TypeDesc)_dictionaryOwner);
Compiler\DependencyAnalysis\ThreadStaticsNode.cs (1)
117factory.NativeLayout.TemplateTypeLayout(_type.ConvertToCanonForm(CanonicalFormKind.Specific)),
Compiler\MetadataManager.cs (1)
473factory.NativeLayout.TemplateMethodEntry(method.GetCanonMethodTarget(CanonicalFormKind.Specific)),