15 references to ERR_BadIteratorArgType
Microsoft.CodeAnalysis.CSharp (2)
Binder\ExecutableCodeBinder.cs (1)
114diagnostics.Add(ErrorCode.ERR_BadIteratorArgType, parameter.Locations[0]);
Errors\ErrorFacts.cs (1)
1222case ErrorCode.ERR_BadIteratorArgType:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenAsyncIteratorTests.cs (1)
1487Diagnostic(ErrorCode.ERR_BadIteratorArgType, "s").WithLocation(4, 73),
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
FlowAnalysis\LocalFunctions.cs (2)
1532Diagnostic(ErrorCode.ERR_BadIteratorArgType, "output"), 1565Diagnostic(ErrorCode.ERR_BadIteratorArgType, "output"),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
Semantics\LocalFunctionTests.cs (6)
2308Diagnostic(ErrorCode.ERR_BadIteratorArgType, "a").WithLocation(8, 40), 2311Diagnostic(ErrorCode.ERR_BadIteratorArgType, "x").WithLocation(17, 44), 2314Diagnostic(ErrorCode.ERR_BadIteratorArgType, "a").WithLocation(27, 40), 2317Diagnostic(ErrorCode.ERR_BadIteratorArgType, "a").WithLocation(33, 40), 2320Diagnostic(ErrorCode.ERR_BadIteratorArgType, "b").WithLocation(37, 48)); 3523Diagnostic(ErrorCode.ERR_BadIteratorArgType, "x").WithLocation(8, 48)
Semantics\RefLocalsAndReturnsTests.cs (2)
4146Diagnostic(ErrorCode.ERR_BadIteratorArgType, "p").WithLocation(5, 36) 4164Diagnostic(ErrorCode.ERR_BadIteratorArgType, "p").WithLocation(5, 50));
Semantics\SemanticErrorTests.cs (2)
15145Diagnostic(ErrorCode.ERR_BadIteratorArgType, "i"), 15148Diagnostic(ErrorCode.ERR_BadIteratorArgType, "f")