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