8 references to GetModuleTokenForMethod
ILCompiler.ReadyToRun (8)
Compiler\DependencyAnalysis\ReadyToRun\SignatureContext.cs (1)
81
return Resolver.
GetModuleTokenForMethod
(method, throwIfNotFound: false, allowDynamicallyCreatedReference: false);
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (1)
547
ModuleToken moduleToken = Resolver.
GetModuleTokenForMethod
(method, allowDynamicallyCreatedReference: true, throwIfNotFound: true);
Compiler\ExternalReferenceTokenManager.cs (1)
99
MethodDesc methodDesc => _tokenResolver.
GetModuleTokenForMethod
(methodDesc, allowDynamicallyCreatedReference: true, throwIfNotFound: false),
JitInterface\CorInfoImpl.ReadyToRun.cs (3)
1360
_compilation.NodeFactory.Resolver.
GetModuleTokenForMethod
(method, true, true),
1496
ModuleToken result = _compilation.NodeFactory.Resolver.
GetModuleTokenForMethod
(resultMethod, allowDynamicallyCreatedReference: true, throwIfNotFound: true);
2072
ModuleToken moduleToken = _compilation.NodeFactory.Resolver.
GetModuleTokenForMethod
(directMethod, false, false);
src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (2)
1428
ModuleToken declToken = resolver.
GetModuleTokenForMethod
(decl.GetTypicalMethodDefinition(), allowDynamicallyCreatedReference: false, throwIfNotFound: false);
1465
methodWithTokenImpl = new MethodWithToken(nonUnboxingImpl, resolver.
GetModuleTokenForMethod
(nonUnboxingImpl.GetTypicalMethodDefinition(), allowDynamicallyCreatedReference: false, throwIfNotFound: true), null, unboxingStub, null, devirtualizedMethodOwner: impl.OwningType);