20 references to ERR_UnsafeIteratorArgType
Microsoft.CodeAnalysis.CSharp (2)
Binder\ExecutableCodeBinder.cs (1)
123
diagnostics.Add(ErrorCode.
ERR_UnsafeIteratorArgType
, parameter.GetFirstLocation());
Errors\ErrorFacts.cs (1)
1301
or ErrorCode.
ERR_UnsafeIteratorArgType
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (17)
Semantics\LocalFunctionTests.cs (10)
2381
Diagnostic(ErrorCode.
ERR_UnsafeIteratorArgType
, "a").WithLocation(8, 37),
2384
Diagnostic(ErrorCode.
ERR_UnsafeIteratorArgType
, "x").WithLocation(17, 41),
2387
Diagnostic(ErrorCode.
ERR_UnsafeIteratorArgType
, "a").WithLocation(27, 37),
2399
Diagnostic(ErrorCode.
ERR_UnsafeIteratorArgType
, "a").WithLocation(33, 44),
2405
Diagnostic(ErrorCode.
ERR_UnsafeIteratorArgType
, "b").WithLocation(37, 45));
2411
Diagnostic(ErrorCode.
ERR_UnsafeIteratorArgType
, "a").WithLocation(8, 37),
2414
Diagnostic(ErrorCode.
ERR_UnsafeIteratorArgType
, "x").WithLocation(17, 41),
2417
Diagnostic(ErrorCode.
ERR_UnsafeIteratorArgType
, "a").WithLocation(27, 37),
2420
Diagnostic(ErrorCode.
ERR_UnsafeIteratorArgType
, "a").WithLocation(33, 44),
2426
Diagnostic(ErrorCode.
ERR_UnsafeIteratorArgType
, "b").WithLocation(37, 45),
Semantics\SemanticErrorTests.cs (1)
15576
Diagnostic(ErrorCode.
ERR_UnsafeIteratorArgType
, "p"));
Semantics\UnsafeTests.cs (6)
3190
Diagnostic(ErrorCode.
ERR_UnsafeIteratorArgType
, "p"));
3195
Diagnostic(ErrorCode.
ERR_UnsafeIteratorArgType
, "p"));
3201
Diagnostic(ErrorCode.
ERR_UnsafeIteratorArgType
, "p").WithLocation(4, 70),
3210
Diagnostic(ErrorCode.
ERR_UnsafeIteratorArgType
, "p").WithLocation(4, 70)
3220
Diagnostic(ErrorCode.
ERR_UnsafeIteratorArgType
, "p").WithLocation(4, 70),
3228
Diagnostic(ErrorCode.
ERR_UnsafeIteratorArgType
, "p").WithLocation(4, 70)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\FunctionPointerTypeSymbolTests.cs (1)
1498
Diagnostic(ErrorCode.
ERR_UnsafeIteratorArgType
, "i").WithLocation(5, 48)