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