1 instantiation of AsyncResumptionStub
ILCompiler.Compiler (1)
parent\parent\Common\Compiler\CompilerTypeSystemContext.Async.cs (1)
308
=> new
AsyncResumptionStub
(key.TargetMethod, key.OwningType);
10 references to AsyncResumptionStub
ILCompiler.Compiler (10)
IL\ILImporter.Scanner.cs (1)
1079
AsyncResumptionStub
resumptionStub = _compilation.TypeSystemContext.GetAsyncResumptionStub(_canonMethod, _compilation.TypeSystemContext.GeneratedAssembly.GetGlobalModuleType());
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);