13 references to IsAsyncEffectivelyReturningGenericTask
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Statements.cs (1)
2965
return symbol?.Kind == SymbolKind.Method && ((MethodSymbol)symbol).
IsAsyncEffectivelyReturningGenericTask
(this.Compilation);
BoundTree\UnboundLambda.cs (1)
889
!lambdaSymbol.
IsAsyncEffectivelyReturningGenericTask
(compilation))
FlowAnalysis\NullableWalker.cs (1)
3165
if (method.
IsAsyncEffectivelyReturningGenericTask
(compilation))
Lowering\AsyncRewriter\AsyncMethodBuilderMemberCollection.cs (1)
253
if (method.
IsAsyncEffectivelyReturningGenericTask
(F.Compilation))
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (3)
95
_exprRetValue = method.
IsAsyncEffectivelyReturningGenericTask
(F.Compilation)
264
_method.
IsAsyncEffectivelyReturningGenericTask
(F.Compilation)
665
Debug.Assert(_method.
IsAsyncEffectivelyReturningGenericTask
(F.Compilation));
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
1610
!methodSymbol.
IsAsyncEffectivelyReturningGenericTask
(declaringCompilation);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenAsyncMethodBuilderOverrideTests.cs (1)
138
Assert.True(method.
IsAsyncEffectivelyReturningGenericTask
(compilation));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\BindingAsyncTasklikeMoreTests.cs (4)
115
Assert.True(method.
IsAsyncEffectivelyReturningGenericTask
(compilation));
441
Assert.True(method.
IsAsyncEffectivelyReturningGenericTask
(compilation));
522
Assert.True(method.
IsAsyncEffectivelyReturningGenericTask
(compilation));
601
Assert.True(method.
IsAsyncEffectivelyReturningGenericTask
(compilation));