10 references to GetMetadataHandleForMethod
ILCompiler.Compiler (10)
Compiler\DependencyAnalysis\ExactMethodInstantiationsNode.cs (1)
82
int token = factory.MetadataManager.
GetMetadataHandleForMethod
(factory, methodForMetadata);
Compiler\DependencyAnalysis\GenericMethodsHashtableNode.cs (1)
77
int token = factory.MetadataManager.
GetMetadataHandleForMethod
(factory, methodForMetadata);
Compiler\DependencyAnalysis\GenericVirtualMethodTableNode.cs (2)
117
int callingMethodToken = factory.MetadataManager.
GetMetadataHandleForMethod
(factory, callingMethod);
120
int implementationMethodToken = factory.MetadataManager.
GetMetadataHandleForMethod
(factory, implementationMethod);
Compiler\DependencyAnalysis\GvmDispatchCellInfoSectionNode.cs (1)
64
int token = factory.MetadataManager.
GetMetadataHandleForMethod
(factory, GetMethodForMetadata(targetMethod, out bool isAsyncVariant));
Compiler\DependencyAnalysis\InterfaceGenericVirtualMethodTableNode.cs (2)
154
int callingMethodToken = factory.MetadataManager.
GetMetadataHandleForMethod
(factory, callingMethod);
165
int implementationMethodToken = factory.MetadataManager.
GetMetadataHandleForMethod
(factory, implementationMethod);
Compiler\DependencyAnalysis\NativeLayoutVertexNode.cs (1)
203
int token = factory.MetadataManager.
GetMetadataHandleForMethod
(factory, methodForToken);
Compiler\DependencyAnalysis\ReflectionVirtualInvokeMapNode.cs (1)
176
int token = factory.MetadataManager.
GetMetadataHandleForMethod
(factory, method.GetTypicalMethodDefinition());
Compiler\DependencyAnalysis\RuntimeMethodHandleNode.cs (1)
74
int handle = relocsOnly ? 0 : factory.MetadataManager.
GetMetadataHandleForMethod
(factory, _targetMethod.GetTypicalMethodDefinition());