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