20 references to ERR_UnsafeIteratorArgType
Microsoft.CodeAnalysis.CSharp (2)
Binder\ExecutableCodeBinder.cs (1)
123diagnostics.Add(ErrorCode.ERR_UnsafeIteratorArgType, parameter.GetFirstLocation());
Errors\ErrorFacts.cs (1)
1301or ErrorCode.ERR_UnsafeIteratorArgType
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (17)
Semantics\LocalFunctionTests.cs (10)
2389Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "a").WithLocation(8, 37), 2392Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "x").WithLocation(17, 41), 2395Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "a").WithLocation(27, 37), 2407Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "a").WithLocation(33, 44), 2413Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "b").WithLocation(37, 45)); 2419Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "a").WithLocation(8, 37), 2422Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "x").WithLocation(17, 41), 2425Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "a").WithLocation(27, 37), 2428Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "a").WithLocation(33, 44), 2434Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "b").WithLocation(37, 45),
Semantics\SemanticErrorTests.cs (1)
15531Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "p"));
Semantics\UnsafeTests.cs (6)
3190Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "p")); 3195Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "p")); 3201Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "p").WithLocation(4, 70), 3210Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "p").WithLocation(4, 70) 3220Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "p").WithLocation(4, 70), 3228Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "p").WithLocation(4, 70)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\FunctionPointerTypeSymbolTests.cs (1)
1498Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "i").WithLocation(5, 48)