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