18 references to IsAsyncVariant
ILCompiler.Compiler (17)
Compiler\Compilation.cs (1)
213
if (callsiteMethod.
IsAsyncVariant
())
Compiler\Dataflow\AsyncMaskingILProvider.cs (2)
30
Debug.Assert(!method.
IsAsyncVariant
());
46
if (owningMethod.
IsAsyncVariant
())
Compiler\DependencyAnalysis\GvmDispatchCellInfoSectionNode.cs (1)
125
if (targetMethodForMetadata.
IsAsyncVariant
())
Compiler\DependencyAnalysis\ReflectionVirtualInvokeMapNode.cs (1)
127
Debug.Assert(!mappingEntry.Entity.
IsAsyncVariant
());
Compiler\DependencyAnalysis\RuntimeMethodHandleNode.cs (1)
21
Debug.Assert(!targetMethod.
IsAsyncVariant
());
Compiler\DependencyAnalysis\TypeGVMEntriesNode.cs (2)
89
if (decl.
IsAsyncVariant
())
110
if (method.
IsAsyncVariant
())
Compiler\MetadataManager.cs (1)
426
Debug.Assert(!method.
IsAsyncVariant
());
parent\parent\Common\Compiler\AsyncMethodVariant.cs (4)
162
return (method.
IsAsyncVariant
() ^ method.IsAsync) || method.IsReturnDroppingAsyncThunk();
176
return method.IsAsync && method.
IsAsyncVariant
();
181
Debug.Assert(!method.
IsAsyncVariant
());
187
Debug.Assert(method.
IsAsyncVariant
());
parent\parent\Common\Compiler\CompilerTypeSystemContext.Async.cs (2)
33
isAsyncVariant = method.
IsAsyncVariant
();
243
Debug.Assert(asyncVariantMethod.
IsAsyncVariant
());
parent\parent\Common\Compiler\MethodExtensions.cs (2)
203
public static bool IsAsyncCall(this MethodDesc method) => method.
IsAsyncVariant
() || method.IsReturnDroppingAsyncThunk() || (method.IsAsync && !method.Signature.ReturnsTaskOrValueTask());
210
public static bool SupportsAsyncVersionCodegen(this MethodDesc method) => method.
IsAsyncVariant
() && method.IsAsyncThunk() && !method.IsReturnDroppingAsyncThunk();
ILCompiler.RyuJit (1)
parent\parent\Common\JitInterface\CorInfoImpl.cs (1)
1713
if (method.
IsAsyncVariant
())