6 references to ERR_ExpressionTreeContainsIndexedProperty
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1135or ErrorCode.ERR_ExpressionTreeContainsIndexedProperty
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
330Error(ErrorCode.ERR_ExpressionTreeContainsIndexedProperty, node);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\SemanticErrorTests.cs (4)
13336Diagnostic(ErrorCode.ERR_ExpressionTreeContainsIndexedProperty, "i.P[1]").WithLocation(8, 20), 13338Diagnostic(ErrorCode.ERR_ExpressionTreeContainsIndexedProperty, "i.Q").WithLocation(10, 20), 13340Diagnostic(ErrorCode.ERR_ExpressionTreeContainsIndexedProperty, "i.Q[index:3]").WithLocation(11, 20), 13344Diagnostic(ErrorCode.ERR_ExpressionTreeContainsIndexedProperty, "i.P[4]").WithLocation(13, 20));