6 references to ERR_ExpressionTreeContainsIndexedProperty
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1073
case ErrorCode.
ERR_ExpressionTreeContainsIndexedProperty
:
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
318
Error(ErrorCode.
ERR_ExpressionTreeContainsIndexedProperty
, node);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\SemanticErrorTests.cs (4)
13223
Diagnostic(ErrorCode.
ERR_ExpressionTreeContainsIndexedProperty
, "i.P[1]").WithLocation(8, 20),
13225
Diagnostic(ErrorCode.
ERR_ExpressionTreeContainsIndexedProperty
, "i.Q").WithLocation(10, 20),
13227
Diagnostic(ErrorCode.
ERR_ExpressionTreeContainsIndexedProperty
, "i.Q[index:3]").WithLocation(11, 20),
13231
Diagnostic(ErrorCode.
ERR_ExpressionTreeContainsIndexedProperty
, "i.P[4]").WithLocation(13, 20));