12 references to IsAsyncEffectivelyReturningTask
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Expressions.cs (1)
11429!method.IsAsyncEffectivelyReturningTask(compilation);
Binder\Binder_Statements.cs (2)
641return method.ReturnsVoid || method.IsIterator || method.IsAsyncEffectivelyReturningTask(this.Compilation); 2959return symbol?.Kind == SymbolKind.Method && ((MethodSymbol)symbol).IsAsyncEffectivelyReturningTask(this.Compilation);
BoundTree\UnboundLambda.cs (1)
888!lambdaSymbol.IsAsyncEffectivelyReturningTask(compilation) &&
FlowAnalysis\FlowAnalysisPass.cs (1)
46if (method.ReturnsVoid || method.IsIterator || method.IsAsyncEffectivelyReturningTask(compilation))
Lowering\AsyncRewriter\AsyncMethodBuilderMemberCollection.cs (1)
182if (method.IsAsyncEffectivelyReturningTask(F.Compilation))
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
1609!methodSymbol.IsAsyncEffectivelyReturningTask(declaringCompilation) &&
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenAsyncMethodBuilderOverrideTests.cs (1)
135Assert.True(method.IsAsyncEffectivelyReturningTask(compilation));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\BindingAsyncTasklikeMoreTests.cs (4)
112Assert.True(method.IsAsyncEffectivelyReturningTask(compilation)); 437Assert.True(method.IsAsyncEffectivelyReturningTask(compilation)); 518Assert.True(method.IsAsyncEffectivelyReturningTask(compilation)); 597Assert.True(method.IsAsyncEffectivelyReturningTask(compilation));