1 write to Method
ILCompiler.ReadyToRun (1)
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
155Method = method;
54 references to Method
ILCompiler.ReadyToRun (54)
Compiler\DependencyAnalysis\ReadyToRun\DelayLoadHelperMethodImport.cs (3)
48MethodDesc canonMethod = _method.Method.GetCanonMethodTarget(CanonicalFormKind.Specific); 54factory.DetectGenericCycles(_method.Method, canonMethod); 71public MethodDesc Method => _method.Method;
Compiler\DependencyAnalysis\ReadyToRun\DelayLoadMethodImport.cs (1)
38public MethodDesc Method => MethodWithToken.Method;
Compiler\DependencyAnalysis\ReadyToRun\GenericLookupSignature.cs (1)
155sb.Append(nameMangler.GetMangledMethodName(_methodArgument.Method));
Compiler\DependencyAnalysis\ReadyToRun\MethodFixupSignature.cs (16)
35CompilerTypeSystemContext compilerContext = (CompilerTypeSystemContext)method.Method.Context; 36compilerContext.EnsureLoadableMethod(method.Method); 43public MethodDesc Method => _method.Method; 68factory.DetectGenericCycles(_method.Method, canonMethod); 93if (_method.Method.IsPrimaryMethodDesc() && !IsInstantiatingStub 96if (!_method.Method.HasInstantiation && !_method.Method.OwningType.HasInstantiation && !_method.Method.OwningType.IsArray) 117if (factory.CompilationModuleGroup.VersionsWithMethodBody(method.Method) && method.Method.IsPrimaryMethodDesc()) 121method = new MethodWithToken(method.Method, factory.SignatureContext.GetModuleTokenForMethod(method.Method), method.ConstrainedType, unboxing: _method.Unboxing, null); 125if (method.Method.OwningType.GetTypeDefinition() is EcmaType) 127method = new MethodWithToken(method.Method, factory.SignatureContext.GetModuleTokenForMethod(method.Method), method.ConstrainedType, unboxing: _method.Unboxing, null); 159if (_method.Method.IsAsyncVariant())
Compiler\DependencyAnalysis\ReadyToRun\PrecodeMethodImport.cs (1)
36public MethodDesc Method => _method.Method;
Compiler\DependencyAnalysis\ReadyToRun\SignatureBuilder.cs (4)
444if (method.Method.IsAsyncVariant()) 474if (method.Method.HasInstantiation && !method.Method.IsGenericMethodDefinition) 527Instantiation instantiation = method.Method.Instantiation;
Compiler\DependencyAnalysis\ReadyToRun\VirtualResolutionFixupSignature.cs (3)
33CompilerTypeSystemContext compilerContext = (CompilerTypeSystemContext)declMethod.Method.Context; 34compilerContext.EnsureLoadableMethod(declMethod.Method); 37compilerContext.EnsureLoadableMethod(implMethod.Method);
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (1)
495MethodDesc compilableMethod = method.Method.GetCanonMethodTarget(CanonicalFormKind.Specific);
Compiler\DependencyAnalysis\ReadyToRunSymbolNodeFactory.cs (4)
138isInstantiatingStub: ctorKey.Method.Method.HasInstantiation, 394bool useInstantiatingStub = method.Method.GetCanonMethodTarget(CanonicalFormKind.Specific) != method.Method; 678typeArgument = methodWithToken.Method.OwningType;
Compiler\RuntimeDeterminedTypeHelper.cs (3)
132return Equals(methodWithToken1.Method, methodWithToken2.Method) 201return unchecked(GetHashCode(method.Method) + 31 * GetHashCode(method.OwningType) + 97 * GetHashCode(method.ConstrainedType));
JitInterface\CorInfoImpl.ReadyToRun.cs (13)
186return HandleContext(moduleToken.Module, methodDefinition.GetDeclaringType(), methodToken.Method.OwningType, constrainedType, genericContextObject, devirtualizedMethodOwner, ref owningTypeNotDerivedFromToken); 199return HandleContext(moduleToken.Module, memberRef.Parent, methodToken.Method.OwningType, constrainedType, genericContextObject, null, ref owningTypeNotDerivedFromToken); 203return methodToken.Method.OwningType; 339return Method.GetHashCode() ^ unchecked(17 * Token.GetHashCode()) ^ unchecked(39 * (ConstrainedType?.GetHashCode() ?? 0)); 347bool equals = Method == methodWithToken.Method 359sb.Append(nameMangler.GetMangledMethodName(Method)); 375if (Method.IsAsyncVariant()) 377if (Method is AsyncResumptionStub) 384debuggingName.Append(Method.ToString()); 395if (Method.IsAsyncVariant()) 416result = comparer.Compare(Method, other.Method);
src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (4)
1491if (!methodWithTokenDecl.Method.OwningType.IsValueType || !methodWithTokenImpl.Method.OwningType.IsValueType) 1521MethodILScope scope = jitInterface._compilation.GetMethodIL(methodWithToken.Method); 1522scope ??= EcmaMethodILScope.Create((EcmaMethod)methodWithToken.Method.GetTypicalMethodDefinition());