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