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)
2389
Diagnostic(ErrorCode.
ERR_UnsafeIteratorArgType
, "a").WithLocation(8, 37),
2392
Diagnostic(ErrorCode.
ERR_UnsafeIteratorArgType
, "x").WithLocation(17, 41),
2395
Diagnostic(ErrorCode.
ERR_UnsafeIteratorArgType
, "a").WithLocation(27, 37),
2407
Diagnostic(ErrorCode.
ERR_UnsafeIteratorArgType
, "a").WithLocation(33, 44),
2413
Diagnostic(ErrorCode.
ERR_UnsafeIteratorArgType
, "b").WithLocation(37, 45));
2419
Diagnostic(ErrorCode.
ERR_UnsafeIteratorArgType
, "a").WithLocation(8, 37),
2422
Diagnostic(ErrorCode.
ERR_UnsafeIteratorArgType
, "x").WithLocation(17, 41),
2425
Diagnostic(ErrorCode.
ERR_UnsafeIteratorArgType
, "a").WithLocation(27, 37),
2428
Diagnostic(ErrorCode.
ERR_UnsafeIteratorArgType
, "a").WithLocation(33, 44),
2434
Diagnostic(ErrorCode.
ERR_UnsafeIteratorArgType
, "b").WithLocation(37, 45),
Semantics\SemanticErrorTests.cs (1)
15531
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)