9 references to GetModuleTokenForMethod
ILCompiler.ReadyToRun (9)
Compiler\DependencyAnalysis\ReadyToRun\SignatureContext.cs (1)
81return Resolver.GetModuleTokenForMethod(method, throwIfNotFound: false, allowDynamicallyCreatedReference: false);
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (1)
590ModuleToken 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)
1355_compilation.NodeFactory.Resolver.GetModuleTokenForMethod(method, true, true), 1459ModuleToken result = _compilation.NodeFactory.Resolver.GetModuleTokenForMethod(resultMethod, allowDynamicallyCreatedReference: true, throwIfNotFound: true); 2035ModuleToken moduleToken = _compilation.NodeFactory.Resolver.GetModuleTokenForMethod(directMethod, false, false);
src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (3)
1460ModuleToken declToken = resolver.GetModuleTokenForMethod(decl.GetTypicalMethodDefinition(), allowDynamicallyCreatedReference: false, throwIfNotFound: false); 1497methodWithTokenImpl = new MethodWithToken(nonUnboxingImpl, resolver.GetModuleTokenForMethod(nonUnboxingImpl.GetTypicalMethodDefinition(), allowDynamicallyCreatedReference: false, throwIfNotFound: true), null, unboxingStub, null, devirtualizedMethodOwner: impl.OwningType); 3664_compilation.NodeFactory.Resolver.GetModuleTokenForMethod(runtimeDeterminedResult, allowDynamicallyCreatedReference: true, throwIfNotFound: true),