10 references to GetModuleTokenForMethod
ILCompiler.ReadyToRun (10)
Compiler\DependencyAnalysis\ReadyToRun\SignatureContext.cs (1)
81return Resolver.GetModuleTokenForMethod(method, throwIfNotFound: false, allowDynamicallyCreatedReference: false);
Compiler\ExternalReferenceTokenManager.cs (1)
99MethodDesc methodDesc => _tokenResolver.GetModuleTokenForMethod(methodDesc, allowDynamicallyCreatedReference: true, throwIfNotFound: false),
JitInterface\CorInfoImpl.ReadyToRun.cs (4)
1088_compilation.NodeFactory.Resolver.GetModuleTokenForMethod(helperMethod, true, true), 1465_compilation.NodeFactory.Resolver.GetModuleTokenForMethod(method, true, true), 1589ModuleToken result = _compilation.NodeFactory.Resolver.GetModuleTokenForMethod(resultMethod, allowDynamicallyCreatedReference: true, throwIfNotFound: true); 2172ModuleToken moduleToken = _compilation.NodeFactory.Resolver.GetModuleTokenForMethod(directMethod, false, false);
parent\parent\Common\JitInterface\CorInfoImpl.cs (4)
1571ModuleToken declToken = resolver.GetModuleTokenForMethod(decl.GetTypicalMethodDefinition(), allowDynamicallyCreatedReference: false, throwIfNotFound: false); 1608methodWithTokenImpl = new MethodWithToken(nonUnboxingImpl, resolver.GetModuleTokenForMethod(nonUnboxingImpl.GetTypicalMethodDefinition(), allowDynamicallyCreatedReference: false, throwIfNotFound: true), null, unboxingStub, null, devirtualizedMethodOwner: impl.OwningType); 3803_compilation.NodeFactory.Resolver.GetModuleTokenForMethod(runtimeDeterminedResult, allowDynamicallyCreatedReference: true, throwIfNotFound: true), 3879_compilation.NodeFactory.Resolver.GetModuleTokenForMethod(