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