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