1 instantiation of AsyncResumptionStub
ILCompiler.ReadyToRun (1)
parent\parent\Common\Compiler\CompilerTypeSystemContext.Async.cs (1)
308
=> new
AsyncResumptionStub
(key.TargetMethod, key.OwningType);
20 references to AsyncResumptionStub
ILCompiler.ReadyToRun (20)
Compiler\DependencyAnalysis\ReadyToRun\InstanceEntryPointTableNode.cs (2)
40
if (method.Method is
AsyncResumptionStub
)
114
if (method.Method is
AsyncResumptionStub
)
Compiler\DependencyAnalysis\ReadyToRun\MethodWithGCInfo.cs (2)
447
if (method is
AsyncResumptionStub
resumptionStub)
449
Debug.Assert(resumptionStub.TargetMethod is not
AsyncResumptionStub
);
Compiler\ReadyToRunCodegenCompilation.cs (1)
752
if (typicalDef is EcmaMethod or AsyncMethodVariant or
AsyncResumptionStub
)
Compiler\ReadyToRunTableManager.cs (1)
88
if (method.HasInstantiation || method.OwningType.HasInstantiation || method.IsAsyncVariant() || method is
AsyncResumptionStub
||
IL\ReadyToRunILProvider.cs (1)
264
else if (method is
AsyncResumptionStub
ars)
JitInterface\CorInfoImpl.ReadyToRun.cs (3)
375
if (Method is
AsyncResumptionStub
)
2592
else if (MethodBeingCompiled is
AsyncResumptionStub
resumptionStub
2836
Debug.Assert(MethodBeingCompiled is not
AsyncResumptionStub
);
parent\parent\Common\Compiler\AsyncMethodVariant.cs (1)
171
return (method.IsAsyncThunk() && !method.SupportsAsyncVersionCodegen()) || method is
AsyncResumptionStub
;
parent\parent\Common\Compiler\CompilerTypeSystemContext.Async.cs (7)
273
public
AsyncResumptionStub
GetAsyncResumptionStub(MethodDesc targetMethod, TypeDesc owningType)
299
private sealed class AsyncResumptionStubHashtable : LockFreeReaderHashtable<AsyncResumptionStubKey,
AsyncResumptionStub
>
302
protected override int GetValueHashCode(
AsyncResumptionStub
value) => value.TargetMethod.GetHashCode();
303
protected override bool CompareKeyToValue(AsyncResumptionStubKey key,
AsyncResumptionStub
value)
305
protected override bool CompareValueToValue(
AsyncResumptionStub
value1,
AsyncResumptionStub
value2)
307
protected override
AsyncResumptionStub
CreateValueFromKey(AsyncResumptionStubKey key)
parent\parent\Common\TypeSystem\IL\Stubs\AsyncResumptionStub.Sorting.cs (1)
15
return comparer.Compare(_targetMethod, ((
AsyncResumptionStub
)other)._targetMethod);
TypeSystem\MethodDescExtensions.cs (1)
36
AsyncResumptionStub
resumptionStub => resumptionStub.TargetMethod.GetPrimaryMethodDesc(),