9 references to ERR_ExpressionTreeContainsPatternImplicitIndexer
Microsoft.CodeAnalysis.CSharp (3)
Errors\ErrorFacts.cs (1)
2063or 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)
75Diagnostic(ErrorCode.ERR_ExpressionTreeContainsPatternImplicitIndexer, "a[new Index(0, true)]").WithLocation(16, 55), 78Diagnostic(ErrorCode.ERR_ExpressionTreeContainsPatternImplicitIndexer, "a[new Index(0, true)]").WithLocation(17, 64), 81Diagnostic(ErrorCode.ERR_ExpressionTreeContainsPatternImplicitIndexer, "a[new Range(0, 1)]").WithLocation(19, 58), 84Diagnostic(ErrorCode.ERR_ExpressionTreeContainsPatternImplicitIndexer, "s[new Range(0, 1)]").WithLocation(20, 46)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
CodeGen\IndexAndRangeTests.cs (2)
4504Diagnostic(ErrorCode.ERR_ExpressionTreeContainsPatternImplicitIndexer, "[i]").WithLocation(10, 76), 4510Diagnostic(ErrorCode.ERR_ExpressionTreeContainsPatternImplicitIndexer, "[r]").WithLocation(11, 76),