12 references to ERR_BadIteratorLocalType
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Statements.cs (1)
1174
Error(diagnostics, ErrorCode.
ERR_BadIteratorLocalType
, identifierToken);
Errors\ErrorFacts.cs (1)
1736
case ErrorCode.
ERR_BadIteratorLocalType
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
Semantics\ForEachTests.cs (2)
3545
Diagnostic(ErrorCode.
ERR_BadIteratorLocalType
, "x").WithLocation(18, 26));
3577
Diagnostic(ErrorCode.
ERR_BadIteratorLocalType
, "x").WithLocation(18, 35));
Semantics\RefLocalsAndReturnsTests.cs (8)
1235
Diagnostic(ErrorCode.
ERR_BadIteratorLocalType
, "x").WithLocation(7, 26));
1266
Diagnostic(ErrorCode.
ERR_BadIteratorLocalType
, "x").WithLocation(10, 34));
1291
Diagnostic(ErrorCode.
ERR_BadIteratorLocalType
, "x").WithLocation(10, 34),
1321
Diagnostic(ErrorCode.
ERR_BadIteratorLocalType
, "x").WithLocation(10, 43));
1345
Diagnostic(ErrorCode.
ERR_BadIteratorLocalType
, "x").WithLocation(8, 21));
3094
Diagnostic(ErrorCode.
ERR_BadIteratorLocalType
, "z").WithLocation(13, 21),
3097
Diagnostic(ErrorCode.
ERR_BadIteratorLocalType
, "y").WithLocation(8, 17));
3467
Diagnostic(ErrorCode.
ERR_BadIteratorLocalType
, "i").WithLocation(10, 17));