5 overrides of IsAsync
ILCompiler.TypeSystem (5)
parent\parent\Common\TypeSystem\Common\InstantiatedMethod.cs (1)
131public override bool IsAsync
parent\parent\Common\TypeSystem\Common\MethodDelegator.cs (1)
43public override bool IsAsync => _wrappedMethod.IsAsync;
parent\parent\Common\TypeSystem\Common\MethodForInstantiatedType.cs (1)
124public override bool IsAsync
parent\parent\Common\TypeSystem\Ecma\EcmaMethod.cs (1)
378public override bool IsAsync
parent\parent\Common\TypeSystem\RuntimeDetermined\MethodForRuntimeDeterminedType.cs (1)
44public override bool IsAsync => _typicalMethodDef.IsAsync;
20 references to IsAsync
ILCompiler.Compiler (9)
Compiler\Dataflow\AsyncMaskingILProvider.cs (1)
33if (method.IsAsync && method.GetTypicalMethodDefinition().Signature.ReturnsTaskOrValueTask())
Compiler\Dataflow\MethodBodyScanner.cs (1)
796if (!methodIL.OwningMethod.IsAsync)
Compiler\MetadataManager.cs (1)
422if (method.IsAsync && !method.GetTypicalMethodDefinition().Signature.ReturnsTaskOrValueTask())
Compiler\StackTraceEmissionPolicy.cs (1)
49return (method.GetTypicalMethodDefinition() is Internal.TypeSystem.Ecma.EcmaMethod || (method.IsAsync && method.IsAsyncCall()))
IL\Stubs\PInvokeILProvider.cs (1)
28if (method.IsAsync)
parent\parent\Common\Compiler\AsyncMethodVariant.cs (2)
162return (method.IsAsyncVariant() ^ method.IsAsync) || method.IsReturnDroppingAsyncThunk(); 176return method.IsAsync && method.IsAsyncVariant();
parent\parent\Common\Compiler\MethodExtensions.cs (1)
203public static bool IsAsyncCall(this MethodDesc method) => method.IsAsyncVariant() || method.IsReturnDroppingAsyncThunk() || (method.IsAsync && !method.Signature.ReturnsTaskOrValueTask());
parent\parent\Common\TypeSystem\IL\NativeAotILProvider.cs (1)
26if (method.IsAsync)
ILCompiler.ReadyToRun (6)
IL\ReadyToRunILProvider.cs (2)
186if (!method.IsAsync) 200Debug.Assert(method.IsAsync && method is EcmaMethod);
parent\parent\Common\Compiler\AsyncMethodVariant.cs (2)
162return (method.IsAsyncVariant() ^ method.IsAsync) || method.IsReturnDroppingAsyncThunk(); 176return method.IsAsync && method.IsAsyncVariant();
parent\parent\Common\Compiler\MethodExtensions.cs (1)
203public static bool IsAsyncCall(this MethodDesc method) => method.IsAsyncVariant() || method.IsReturnDroppingAsyncThunk() || (method.IsAsync && !method.Signature.ReturnsTaskOrValueTask());
parent\parent\Common\JitInterface\CorInfoImpl.cs (1)
4890if (!isFallbackBodyCompilation && this.MethodBeingCompiled.IsAsync)
ILCompiler.RyuJit (1)
parent\parent\Common\JitInterface\CorInfoImpl.cs (1)
4890if (!isFallbackBodyCompilation && this.MethodBeingCompiled.IsAsync)
ILCompiler.TypeSystem (4)
parent\parent\Common\TypeSystem\Common\InstantiatedMethod.cs (1)
135return _methodDef.IsAsync;
parent\parent\Common\TypeSystem\Common\MethodDelegator.cs (1)
43public override bool IsAsync => _wrappedMethod.IsAsync;
parent\parent\Common\TypeSystem\Common\MethodForInstantiatedType.cs (1)
128return _typicalMethodDef.IsAsync;
parent\parent\Common\TypeSystem\RuntimeDetermined\MethodForRuntimeDeterminedType.cs (1)
44public override bool IsAsync => _typicalMethodDef.IsAsync;