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