9 references to ERR_ExpressionTreeContainsPatternImplicitIndexer
Microsoft.CodeAnalysis.CSharp (3)
Errors\ErrorFacts.cs (1)
2070or ErrorCode.ERR_ExpressionTreeContainsPatternImplicitIndexer
Lowering\DiagnosticsPass_ExpressionTrees.cs (2)
95Error(ErrorCode.ERR_ExpressionTreeContainsPatternImplicitIndexer, node); 105Error(ErrorCode.ERR_ExpressionTreeContainsPatternImplicitIndexer, node);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (4)
CodeGen\IndexAndRangeTests.cs (4)
80Diagnostic(ErrorCode.ERR_ExpressionTreeContainsPatternImplicitIndexer, "a[new Index(0, true)]").WithLocation(16, 55), 83Diagnostic(ErrorCode.ERR_ExpressionTreeContainsPatternImplicitIndexer, "a[new Index(0, true)]").WithLocation(17, 64), 86Diagnostic(ErrorCode.ERR_ExpressionTreeContainsPatternImplicitIndexer, "a[new Range(0, 1)]").WithLocation(19, 58), 89Diagnostic(ErrorCode.ERR_ExpressionTreeContainsPatternImplicitIndexer, "s[new Range(0, 1)]").WithLocation(20, 46)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
CodeGen\IndexAndRangeTests.cs (2)
4509Diagnostic(ErrorCode.ERR_ExpressionTreeContainsPatternImplicitIndexer, "[i]").WithLocation(10, 76), 4515Diagnostic(ErrorCode.ERR_ExpressionTreeContainsPatternImplicitIndexer, "[r]").WithLocation(11, 76),