53 references to GetIndex
ILCompiler.Compiler (53)
Compiler\DependencyAnalysis\ArrayMapNode.cs (1)
58
Vertex vertex = writer.GetUnsignedConstant(_externalReferences.
GetIndex
(arrayTypeSymbol));
Compiler\DependencyAnalysis\ByRefTypeMapNode.cs (1)
53
Vertex vertex = writer.GetUnsignedConstant(_externalReferences.
GetIndex
(factory.NecessaryTypeSymbol(type)));
Compiler\DependencyAnalysis\ClassConstructorContextMap.cs (2)
63
writer.GetUnsignedConstant(_externalReferences.
GetIndex
(factory.NecessaryTypeSymbol(type))),
64
writer.GetUnsignedConstant(_externalReferences.
GetIndex
(node))
Compiler\DependencyAnalysis\DelegateMarshallingStubMapNode.cs (4)
54
writer.GetUnsignedConstant(_externalReferences.
GetIndex
(factory.MethodEntrypoint(_interopStateManager.GetOpenStaticDelegateMarshallingThunk(delegateType)))),
55
writer.GetUnsignedConstant(_externalReferences.
GetIndex
(factory.MethodEntrypoint(_interopStateManager.GetClosedDelegateMarshallingThunk(delegateType)))),
56
writer.GetUnsignedConstant(_externalReferences.
GetIndex
(factory.MethodEntrypoint(_interopStateManager.GetForwardDelegateCreationThunk(delegateType))))
60
writer.GetUnsignedConstant(_externalReferences.
GetIndex
(factory.NecessaryTypeSymbol(delegateType))),
Compiler\DependencyAnalysis\ExactMethodInstantiationsNode.cs (3)
58
Vertex methodPointer = nativeWriter.GetUnsignedConstant(_externalReferences.
GetIndex
(methodEntryPointNode));
63
Vertex declaringType = nativeWriter.GetUnsignedConstant(_externalReferences.
GetIndex
(declaringTypeNode));
71
arguments.Append(nativeWriter.GetUnsignedConstant(_externalReferences.
GetIndex
(argNode)));
Compiler\DependencyAnalysis\FunctionPointerMapNode.cs (1)
62
Vertex vertex = writer.GetUnsignedConstant(_externalReferences.
GetIndex
(factory.NecessaryTypeSymbol(type)));
Compiler\DependencyAnalysis\GenericMethodsHashtableNode.cs (3)
59
Vertex containingType = nativeWriter.GetUnsignedConstant(_externalReferences.
GetIndex
(containingTypeNode));
66
arguments.Append(nativeWriter.GetUnsignedConstant(_externalReferences.
GetIndex
(argNode)));
84
Vertex dictionaryVertex = nativeWriter.GetUnsignedConstant(_externalReferences.
GetIndex
(dictionaryNode));
Compiler\DependencyAnalysis\GenericTypesHashtableNode.cs (1)
53
uint instantiationId = _externalReferences.
GetIndex
(typeSymbol);
Compiler\DependencyAnalysis\GenericTypesTemplateMap.cs (1)
58
nativeWriter.GetUnsignedConstant(_externalReferences.
GetIndex
(factory.NecessaryTypeSymbol(type))),
Compiler\DependencyAnalysis\GenericVirtualMethodTableNode.cs (2)
110
uint callingTypeId = _externalReferences.
GetIndex
(factory.NecessaryTypeSymbol(callingMethod.OwningType));
113
uint targetTypeId = _externalReferences.
GetIndex
(factory.NecessaryTypeSymbol(implementationType));
Compiler\DependencyAnalysis\InterfaceGenericVirtualMethodTableNode.cs (3)
152
uint typeId = _externalReferences.
GetIndex
(factory.NecessaryTypeSymbol(callingMethod.OwningType));
165
typeId = _externalReferences.
GetIndex
(factory.NecessaryTypeSymbol(implementationMethod.OwningType));
199
typeId = _externalReferences.
GetIndex
(factory.NecessaryTypeSymbol(implementationType));
Compiler\DependencyAnalysis\NativeLayoutVertexNode.cs (8)
181
uint typeIndex = factory.MetadataManager.NativeLayoutInfo.ExternalReferences.
GetIndex
(eetypeNode);
206
fptrReferenceId = factory.MetadataManager.NativeLayoutInfo.ExternalReferences.
GetIndex
(methodEntryPointNode);
238
uint typeIndex = factory.MetadataManager.NativeLayoutInfo.ExternalReferences.
GetIndex
(eetypeNode);
500
uint typeIndex = factory.MetadataManager.NativeLayoutInfo.ExternalReferences.
GetIndex
(eetypeNode);
529
uint symbolIndex = factory.MetadataManager.NativeLayoutInfo.ExternalReferences.
GetIndex
(_symbol);
1047
uint cctorStaticsIndex = factory.MetadataManager.NativeLayoutInfo.StaticsReferences.
GetIndex
(cctorSymbol);
1062
uint gcStaticsSymbolIndex = factory.MetadataManager.NativeLayoutInfo.StaticsReferences.
GetIndex
(staticsDescSymbol);
1071
uint threadStaticsSymbolIndex = factory.MetadataManager.NativeLayoutInfo.StaticsReferences.
GetIndex
(threadStaticsDescSymbol);
Compiler\DependencyAnalysis\NodeFactory.cs (2)
1704
=> writer.GetUnsignedConstant(table.
GetIndex
(factory.MethodEntrypoint(method)));
1706
=> writer.GetUnsignedConstant(table.
GetIndex
(factory.NecessaryTypeSymbol(type)));
Compiler\DependencyAnalysis\PointerTypeMapNode.cs (1)
53
Vertex vertex = writer.GetUnsignedConstant(_externalReferences.
GetIndex
(factory.NecessaryTypeSymbol(type)));
Compiler\DependencyAnalysis\ReflectionFieldMapNode.cs (3)
88
uint declaringTypeId = _externalReferences.
GetIndex
(factory.NecessaryTypeSymbol(field.OwningType));
132
uint index = _externalReferences.
GetIndex
(staticsNode, (int)fieldOffset);
137
uint index = _externalReferences.
GetIndex
(staticsNode);
Compiler\DependencyAnalysis\ReflectionInvokeMapNode.cs (4)
186
writer.GetUnsignedConstant(_externalReferences.
GetIndex
(owningTypeSymbol)));
191
writer.GetUnsignedConstant(_externalReferences.
GetIndex
(
200
writer.GetUnsignedConstant(_externalReferences.
GetIndex
(factory.MethodEntrypoint(invokeStub))));
208
uint argId = _externalReferences.
GetIndex
(factory.NecessaryTypeSymbol(method.Instantiation[i]));
Compiler\DependencyAnalysis\ReflectionVirtualInvokeMapNode.cs (2)
182
writer.GetUnsignedConstant(_externalReferences.
GetIndex
(containingTypeKeyNode)),
193
writer.GetUnsignedConstant(_externalReferences.
GetIndex
(containingTypeKeyNode)),
Compiler\DependencyAnalysis\StackTraceLineNumbersNode.cs (2)
65
Vertex methodPointer = nativeWriter.GetUnsignedConstant(_externalReferences.
GetIndex
(entrypointSymbol));
84
Vertex methodPointer = nativeWriter.GetUnsignedConstant(_externalReferences.
GetIndex
(entrypointSymbol));
Compiler\DependencyAnalysis\StaticsInfoHashtableNode.cs (4)
85
bag.AppendUnsigned(BagElementKind.GcStaticData, _nativeStaticsReferences.
GetIndex
(factory.TypeGCStaticsSymbol(metadataType)));
89
bag.AppendUnsigned(BagElementKind.NonGcStaticData, _nativeStaticsReferences.
GetIndex
(factory.TypeNonGCStaticsSymbol(metadataType)));
93
bag.AppendUnsigned(BagElementKind.ThreadStaticIndex, _nativeStaticsReferences.
GetIndex
(factory.TypeThreadStaticIndex(metadataType)));
98
uint typeId = _externalReferences.
GetIndex
(factory.NecessaryTypeSymbol(metadataType));
Compiler\DependencyAnalysis\StructMarshallingStubMapNode.cs (4)
79
writer.GetUnsignedConstant(_externalReferences.
GetIndex
(factory.MethodEntrypoint(_interopStateManager.GetStructMarshallingManagedToNativeThunk(structType)))),
80
writer.GetUnsignedConstant(_externalReferences.
GetIndex
(factory.MethodEntrypoint(_interopStateManager.GetStructMarshallingNativeToManagedThunk(structType)))),
81
writer.GetUnsignedConstant(_externalReferences.
GetIndex
(factory.MethodEntrypoint(_interopStateManager.GetStructMarshallingCleanupThunk(structType)))));
113
writer.GetUnsignedConstant(_externalReferences.
GetIndex
(factory.NecessaryTypeSymbol(structType))),
Compiler\DependencyAnalysis\TypeMetadataMapNode.cs (1)
59
writer.GetUnsignedConstant(_externalReferences.
GetIndex
(typeSymbol)),