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