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)
1588Diagnostic(ErrorCode.ERR_PtrIndexSingle, "x[0, 1]").WithLocation(2, 1), 1594Diagnostic(ErrorCode.ERR_PtrIndexSingle, "x[2, 3]").WithLocation(3, 9)); 1600Diagnostic(ErrorCode.ERR_PtrIndexSingle, "x[0, 1]").WithLocation(2, 1), 1603Diagnostic(ErrorCode.ERR_PtrIndexSingle, "x[2, 3]").WithLocation(3, 9), 1636Diagnostic(ErrorCode.ERR_PtrIndexSingle, "x[0, 1]").WithLocation(2, 1), 1642Diagnostic(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)
8095Diagnostic(ErrorCode.ERR_PtrIndexSingle, "p[1, 2]"));