56 references to GetIndex
ILCompiler.Compiler (56)
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)
59
Vertex methodPointer = nativeWriter.GetUnsignedConstant(_externalReferences.
GetIndex
(methodEntryPointNode));
64
Vertex declaringType = nativeWriter.GetUnsignedConstant(_externalReferences.
GetIndex
(declaringTypeNode));
72
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)
60
Vertex containingType = nativeWriter.GetUnsignedConstant(_externalReferences.
GetIndex
(containingTypeNode));
67
arguments.Append(nativeWriter.GetUnsignedConstant(_externalReferences.
GetIndex
(argNode)));
85
Vertex dictionaryVertex = nativeWriter.GetUnsignedConstant(_externalReferences.
GetIndex
(dictionaryNode));
Compiler\DependencyAnalysis\GenericTypesHashtableNode.cs (1)
53
uint instantiationId = _externalReferences.
GetIndex
(typeSymbol);
Compiler\DependencyAnalysis\GenericTypesTemplateMap.cs (1)
59
nativeWriter.GetUnsignedConstant(_externalReferences.
GetIndex
(factory.NecessaryTypeSymbol(type))),
Compiler\DependencyAnalysis\GenericVirtualMethodTableNode.cs (2)
111
uint callingTypeId = _externalReferences.
GetIndex
(factory.NecessaryTypeSymbol(callingMethod.OwningType));
114
uint targetTypeId = _externalReferences.
GetIndex
(factory.NecessaryTypeSymbol(implementationType));
Compiler\DependencyAnalysis\GvmDispatchCellInfoSectionNode.cs (2)
61
uint owningTypeIndex = _externalReferences.
GetIndex
(factory.MaximallyConstructableType(targetMethod.OwningType));
62
uint instantiationIndex = _externalReferences.
GetIndex
(factory.MetadataEnabledGenericComposition(targetMethod.Instantiation));
Compiler\DependencyAnalysis\InterfaceDispatchCellInfoSectionNode.cs (1)
61
uint interfaceTypeIndex = _externalReferences.
GetIndex
(GetInterfaceTypeNode(factory, targetMethod));
Compiler\DependencyAnalysis\InterfaceGenericVirtualMethodTableNode.cs (3)
153
uint typeId = _externalReferences.
GetIndex
(factory.NecessaryTypeSymbol(callingMethod.OwningType));
166
typeId = _externalReferences.
GetIndex
(factory.NecessaryTypeSymbol(implementationMethod.OwningType));
200
typeId = _externalReferences.
GetIndex
(factory.NecessaryTypeSymbol(implementationType));
Compiler\DependencyAnalysis\NativeLayoutVertexNode.cs (8)
175
uint typeIndex = factory.MetadataManager.NativeLayoutInfo.ExternalReferences.
GetIndex
(eetypeNode);
200
fptrReferenceId = factory.MetadataManager.NativeLayoutInfo.ExternalReferences.
GetIndex
(methodEntryPointNode);
232
uint typeIndex = factory.MetadataManager.NativeLayoutInfo.ExternalReferences.
GetIndex
(eetypeNode);
485
uint typeIndex = factory.MetadataManager.NativeLayoutInfo.ExternalReferences.
GetIndex
(eetypeNode);
511
uint symbolIndex = factory.MetadataManager.NativeLayoutInfo.ExternalReferences.
GetIndex
(_symbol);
1009
uint cctorStaticsIndex = factory.MetadataManager.NativeLayoutInfo.StaticsReferences.
GetIndex
(cctorSymbol);
1023
uint gcStaticsSymbolIndex = factory.MetadataManager.NativeLayoutInfo.StaticsReferences.
GetIndex
(staticsDescSymbol);
1031
uint threadStaticsSymbolIndex = factory.MetadataManager.NativeLayoutInfo.StaticsReferences.
GetIndex
(threadStaticsDescSymbol);
Compiler\DependencyAnalysis\NodeFactory.cs (2)
1756
=> writer.GetUnsignedConstant(table.
GetIndex
(factory.MethodEntrypoint(method)));
1758
=> 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)
85
uint declaringTypeId = _externalReferences.
GetIndex
(factory.NecessaryTypeSymbol(field.OwningType));
129
uint index = _externalReferences.
GetIndex
(staticsNode, (int)fieldOffset);
134
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)
86
bag.AppendUnsigned(BagElementKind.GcStaticData, _nativeStaticsReferences.
GetIndex
(factory.TypeGCStaticsSymbol(metadataType)));
90
bag.AppendUnsigned(BagElementKind.NonGcStaticData, _nativeStaticsReferences.
GetIndex
(factory.TypeNonGCStaticsSymbol(metadataType)));
94
bag.AppendUnsigned(BagElementKind.ThreadStaticIndex, _nativeStaticsReferences.
GetIndex
(factory.TypeThreadStaticIndex(metadataType)));
99
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)),