5 references to ERR_IndexedPropertyRequiresParams
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Expressions.cs (1)
10031
mustHaveAllOptionalParameters ? ErrorCode.ERR_IndexedPropertyMustHaveAllOptionalParams : ErrorCode.
ERR_IndexedPropertyRequiresParams
,
Errors\ErrorFacts.cs (1)
1136
or ErrorCode.
ERR_IndexedPropertyRequiresParams
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\NullableReferenceTypesTests.cs (1)
81032
Diagnostic(ErrorCode.
ERR_IndexedPropertyRequiresParams
, "a.P").WithArguments("A.P").WithLocation(7, 20));
Semantics\SemanticErrorTests.cs (2)
13430
Diagnostic(ErrorCode.
ERR_IndexedPropertyRequiresParams
, "i.R").WithArguments("I.R").WithLocation(8, 9),
13482
Diagnostic(ErrorCode.
ERR_IndexedPropertyRequiresParams
, "a.P").WithArguments("A.P").WithLocation(5, 16));