6 references to ERR_BadAwaiterPattern
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Await.cs (2)
642
Error(diagnostics, ErrorCode.
ERR_BadAwaiterPattern
, node, awaiterType, awaitedExpressionType);
713
Error(diagnostics, ErrorCode.
ERR_BadAwaiterPattern
, node, awaiterType, awaitedExpressionType);
Errors\ErrorFacts.cs (1)
1554
or ErrorCode.
ERR_BadAwaiterPattern
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\BindingAwaitTests.cs (3)
2170
Diagnostic(ErrorCode.
ERR_BadAwaiterPattern
, "await new A()").WithArguments("Awaiter", "A"));
2420
Diagnostic(ErrorCode.
ERR_BadAwaiterPattern
, "await new A()").WithArguments("Awaiter", "A"));
2489
Diagnostic(ErrorCode.
ERR_BadAwaiterPattern
, "await new A()").WithArguments("Awaiter", "A"));