11 references to ERR_BadAsyncLocalType
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Statements.cs (1)
1169Error(diagnostics, ErrorCode.ERR_BadAsyncLocalType, identifierToken);
Errors\ErrorFacts.cs (1)
1737case ErrorCode.ERR_BadAsyncLocalType:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenAwaitForeachTests.cs (1)
1703Diagnostic(ErrorCode.ERR_BadAsyncLocalType, "i").WithLocation(6, 32));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (8)
Semantics\ForEachTests.cs (2)
3479Diagnostic(ErrorCode.ERR_BadAsyncLocalType, "x").WithLocation(20, 26)); 3513Diagnostic(ErrorCode.ERR_BadAsyncLocalType, "x").WithLocation(20, 35));
Semantics\RefLocalsAndReturnsTests.cs (5)
1215Diagnostic(ErrorCode.ERR_BadAsyncLocalType, "x").WithLocation(7, 26)); 1369Diagnostic(ErrorCode.ERR_BadAsyncLocalType, "x").WithLocation(8, 21)); 3121Diagnostic(ErrorCode.ERR_BadAsyncLocalType, "y").WithLocation(8, 17), 3124Diagnostic(ErrorCode.ERR_BadAsyncLocalType, "z").WithLocation(11, 21)); 3440Diagnostic(ErrorCode.ERR_BadAsyncLocalType, "i").WithLocation(8, 17),
Semantics\TopLevelStatementsTests.cs (1)
1121Diagnostic(ErrorCode.ERR_BadAsyncLocalType, "d").WithLocation(3, 9)