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)
2381Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "a").WithLocation(8, 37), 2384Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "x").WithLocation(17, 41), 2387Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "a").WithLocation(27, 37), 2399Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "a").WithLocation(33, 44), 2405Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "b").WithLocation(37, 45)); 2411Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "a").WithLocation(8, 37), 2414Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "x").WithLocation(17, 41), 2417Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "a").WithLocation(27, 37), 2420Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "a").WithLocation(33, 44), 2426Diagnostic(ErrorCode.ERR_UnsafeIteratorArgType, "b").WithLocation(37, 45),
Semantics\SemanticErrorTests.cs (1)
15576Diagnostic(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)