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