4 references to ReportBadAwaitDiagnostics
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Await.cs (1)
33ReportBadAwaitDiagnostics(node, node.Location, diagnostics, ref hasErrors);
Binder\ForEachLoopBinder.cs (2)
239ReportBadAwaitDiagnostics(expr, _syntax.AwaitKeyword.GetLocation(), diagnostics, ref hasErrors); 599ReportBadAwaitDiagnostics(expr, _syntax.AwaitKeyword.GetLocation(), diagnostics, ref hasErrors);
Binder\UsingStatementBinder.cs (1)
149originalBinder.ReportBadAwaitDiagnostics(syntax, awaitKeyword.GetLocation(), diagnostics, ref hasErrors);