6 references to ERR_ExpressionTreeContainsIndexedProperty
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1147
or ErrorCode.
ERR_ExpressionTreeContainsIndexedProperty
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
332
Error(ErrorCode.
ERR_ExpressionTreeContainsIndexedProperty
, node);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\SemanticErrorTests.cs (4)
13390
Diagnostic(ErrorCode.
ERR_ExpressionTreeContainsIndexedProperty
, "i.P[1]").WithLocation(8, 20),
13392
Diagnostic(ErrorCode.
ERR_ExpressionTreeContainsIndexedProperty
, "i.Q").WithLocation(10, 20),
13394
Diagnostic(ErrorCode.
ERR_ExpressionTreeContainsIndexedProperty
, "i.Q[index:3]").WithLocation(11, 20),
13398
Diagnostic(ErrorCode.
ERR_ExpressionTreeContainsIndexedProperty
, "i.P[4]").WithLocation(13, 20));