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