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)
574
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)
1357
_compilation.NodeFactory.Resolver.
GetModuleTokenForMethod
(method, true, true),
1493
ModuleToken result = _compilation.NodeFactory.Resolver.
GetModuleTokenForMethod
(resultMethod, allowDynamicallyCreatedReference: true, throwIfNotFound: true);
2069
ModuleToken moduleToken = _compilation.NodeFactory.Resolver.
GetModuleTokenForMethod
(directMethod, false, false);
src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (2)
1427
ModuleToken declToken = resolver.
GetModuleTokenForMethod
(decl.GetTypicalMethodDefinition(), allowDynamicallyCreatedReference: false, throwIfNotFound: false);
1464
methodWithTokenImpl = new MethodWithToken(nonUnboxingImpl, resolver.
GetModuleTokenForMethod
(nonUnboxingImpl.GetTypicalMethodDefinition(), allowDynamicallyCreatedReference: false, throwIfNotFound: true), null, unboxingStub, null, devirtualizedMethodOwner: impl.OwningType);