11 references to ERR_PtrIndexSingle
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Expressions.cs (1)
10179Error(diagnostics, ErrorCode.ERR_PtrIndexSingle, node);
Errors\ErrorFacts.cs (1)
787or ErrorCode.ERR_PtrIndexSingle
Microsoft.CodeAnalysis.CSharp.CSharp15.UnitTests (6)
UnsafeEvolutionTests.cs (6)
1503Diagnostic(ErrorCode.ERR_PtrIndexSingle, "x[0, 1]").WithLocation(2, 1), 1509Diagnostic(ErrorCode.ERR_PtrIndexSingle, "x[2, 3]").WithLocation(3, 9)); 1515Diagnostic(ErrorCode.ERR_PtrIndexSingle, "x[0, 1]").WithLocation(2, 1), 1518Diagnostic(ErrorCode.ERR_PtrIndexSingle, "x[2, 3]").WithLocation(3, 9), 1543Diagnostic(ErrorCode.ERR_PtrIndexSingle, "x[0, 1]").WithLocation(2, 1), 1549Diagnostic(ErrorCode.ERR_PtrIndexSingle, "x[2, 3]").WithLocation(3, 9));
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (1)
IOperation\IOperationTests_INoneOperation.cs (1)
265Diagnostic(ErrorCode.ERR_PtrIndexSingle, "i[1, (a ? b : c)]").WithLocation(6, 13)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\SemanticErrorTests.cs (1)
7530Diagnostic(ErrorCode.ERR_PtrIndexSingle, "i[1,2]"));
Semantics\UnsafeTests.cs (1)
7989Diagnostic(ErrorCode.ERR_PtrIndexSingle, "p[1, 2]"));