1 write to Method
ILCompiler.ReadyToRun (1)
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
154Method = method;
54 references to Method
ILCompiler.ReadyToRun (54)
Compiler\DependencyAnalysis\ReadyToRun\DelayLoadHelperMethodImport.cs (3)
46MethodDesc canonMethod = _method.Method.GetCanonMethodTarget(CanonicalFormKind.Specific); 52factory.DetectGenericCycles(_method.Method, canonMethod); 69public MethodDesc Method => _method.Method;
Compiler\DependencyAnalysis\ReadyToRun\DelayLoadMethodImport.cs (1)
39public MethodDesc Method => MethodWithToken.Method;
Compiler\DependencyAnalysis\ReadyToRun\GenericLookupSignature.cs (1)
161sb.Append(nameMangler.GetMangledMethodName(_methodArgument.Method));
Compiler\DependencyAnalysis\ReadyToRun\MethodFixupSignature.cs (16)
42CompilerTypeSystemContext compilerContext = (CompilerTypeSystemContext)method.Method.Context; 43compilerContext.EnsureLoadableMethod(method.Method); 50public MethodDesc Method => _method.Method; 85factory.DetectGenericCycles(_method.Method, canonMethod); 161if (_method.Method.IsPrimaryMethodDesc() && !IsInstantiatingStub && !_method.Unboxing 164if (!_method.Method.HasInstantiation && !_method.Method.OwningType.HasInstantiation && !_method.Method.OwningType.IsArray) 185if (factory.CompilationModuleGroup.VersionsWithMethodBody(method.Method) && method.Method.IsPrimaryMethodDesc()) 189method = new MethodWithToken(method.Method, factory.SignatureContext.GetModuleTokenForMethod(method.Method), method.ConstrainedType, unboxing: _method.Unboxing, null); 193if (method.Method.OwningType.GetTypeDefinition() is EcmaType) 195method = new MethodWithToken(method.Method, factory.SignatureContext.GetModuleTokenForMethod(method.Method), method.ConstrainedType, unboxing: _method.Unboxing, null); 227if (_method.Method.IsAsyncVariant())
Compiler\DependencyAnalysis\ReadyToRun\PrecodeMethodImport.cs (1)
37public 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)
673MethodDesc compilableMethod = method.Method.GetCanonMethodTarget(CanonicalFormKind.Specific);
Compiler\DependencyAnalysis\ReadyToRunSymbolNodeFactory.cs (4)
162isInstantiatingStub: ctorKey.Method.Method.HasInstantiation, 451bool useInstantiatingStub = method.Method.GetCanonMethodTarget(CanonicalFormKind.Specific) != method.Method; 728typeArgument = 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)
184return HandleContext(moduleToken.Module, methodDefinition.GetDeclaringType(), methodToken.Method.OwningType, constrainedType, genericContextObject, devirtualizedMethodOwner, ref owningTypeNotDerivedFromToken); 197return HandleContext(moduleToken.Module, memberRef.Parent, methodToken.Method.OwningType, constrainedType, genericContextObject, null, ref owningTypeNotDerivedFromToken); 201return methodToken.Method.OwningType; 337return Method.GetHashCode() ^ unchecked(17 * Token.GetHashCode()) ^ unchecked(39 * (ConstrainedType?.GetHashCode() ?? 0)); 345bool equals = Method == methodWithToken.Method 357sb.Append(nameMangler.GetMangledMethodName(Method)); 373if (Method.IsAsyncVariant()) 375if (Method is AsyncResumptionStub) 382debuggingName.Append(Method.ToString()); 393if (Method.IsAsyncVariant()) 414result = comparer.Compare(Method, other.Method);
parent\parent\Common\JitInterface\CorInfoImpl.cs (4)
1704if (!methodWithTokenDecl.Method.OwningType.IsValueType || !methodWithTokenImpl.Method.OwningType.IsValueType) 1733MethodILScope scope = jitInterface._compilation.GetMethodIL(methodWithToken.Method); 1734scope ??= EcmaMethodILScope.Create(methodWithToken.Method.GetTypicalMethodDefinition());