14 references to ERR_UnsafeIteratorArgType
Microsoft.CodeAnalysis.CSharp (2)
Binder\ExecutableCodeBinder.cs (1)
118diagnostics.Add(ErrorCode.ERR_UnsafeIteratorArgType, parameter.Locations[0]);
Errors\ErrorFacts.cs (1)
1240case ErrorCode.ERR_UnsafeIteratorArgType:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
Semantics\LocalFunctionTests.cs (5)
2387Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "a").WithLocation(8, 37), 2390Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "x").WithLocation(17, 41), 2393Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "a").WithLocation(27, 37), 2396Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "a").WithLocation(33, 44), 2411Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "b").WithLocation(37, 45));
Semantics\SemanticErrorTests.cs (1)
15405Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "p"));
Semantics\UnsafeTests.cs (4)
925Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "p")); 930Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "p")); 935Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "p"), 942Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "p"),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Symbols\FunctionPointerTypeSymbolTests.cs (2)
1499Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "i").WithLocation(5, 48), 1502Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "i").WithLocation(10, 50)