10 references to GetMetadataHandleForMethod
ILCompiler.Compiler (10)
Compiler\DependencyAnalysis\ExactMethodInstantiationsNode.cs (1)
81int token = factory.MetadataManager.GetMetadataHandleForMethod(factory, methodForMetadata);
Compiler\DependencyAnalysis\GenericMethodsHashtableNode.cs (1)
76int token = factory.MetadataManager.GetMetadataHandleForMethod(factory, methodForMetadata);
Compiler\DependencyAnalysis\GenericVirtualMethodTableNode.cs (2)
116int callingMethodToken = factory.MetadataManager.GetMetadataHandleForMethod(factory, callingMethod); 119int implementationMethodToken = factory.MetadataManager.GetMetadataHandleForMethod(factory, implementationMethod);
Compiler\DependencyAnalysis\GvmDispatchCellInfoSectionNode.cs (1)
41int token = factory.MetadataManager.GetMetadataHandleForMethod(factory, GetMethodForMetadata(targetMethod, out bool isAsyncVariant));
Compiler\DependencyAnalysis\InterfaceGenericVirtualMethodTableNode.cs (2)
153int callingMethodToken = factory.MetadataManager.GetMetadataHandleForMethod(factory, callingMethod); 164int implementationMethodToken = factory.MetadataManager.GetMetadataHandleForMethod(factory, implementationMethod);
Compiler\DependencyAnalysis\NativeLayoutVertexNode.cs (1)
209int token = factory.MetadataManager.GetMetadataHandleForMethod(factory, methodForToken);
Compiler\DependencyAnalysis\ReflectionVirtualInvokeMapNode.cs (1)
176int token = factory.MetadataManager.GetMetadataHandleForMethod(factory, method.GetTypicalMethodDefinition());
Compiler\DependencyAnalysis\RuntimeMethodHandleNode.cs (1)
78int handle = relocsOnly ? 0 : factory.MetadataManager.GetMetadataHandleForMethod(factory, _targetMethod.GetTypicalMethodDefinition());