5 references to IsReturnDroppingAsyncThunk
ILCompiler.Compiler (5)
parent\parent\Common\Compiler\AsyncMethodVariant.cs (2)
162
return (method.IsAsyncVariant() ^ method.IsAsync) || method.
IsReturnDroppingAsyncThunk
();
193
Debug.Assert(method.
IsReturnDroppingAsyncThunk
());
parent\parent\Common\Compiler\CompilerTypeSystemContext.Async.cs (1)
212
Debug.Assert(returnDroppingThunk.
IsReturnDroppingAsyncThunk
());
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
();