10 references to ERR_IndexerNeedsParam
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1235or ErrorCode.ERR_IndexerNeedsParam
Symbols\Source\SourcePropertySymbol.cs (1)
629diagnostics.Add(ErrorCode.ERR_IndexerNeedsParam, parameterSyntaxOpt.GetLastToken().GetLocation());
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\InheritanceBindingTests.cs (1)
2075Diagnostic(ErrorCode.ERR_IndexerNeedsParam, "]"),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\PartialPropertiesTests.cs (1)
460Diagnostic(ErrorCode.ERR_IndexerNeedsParam, "]").WithLocation(3, 29),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (6)
Parsing\ParserErrorMessageTests.cs (1)
4557Diagnostic(ErrorCode.ERR_IndexerNeedsParam, "]").WithLocation(4, 14));
Parsing\ParsingErrorRecoveryTests.cs (4)
2047Diagnostic(ErrorCode.ERR_IndexerNeedsParam, "[").WithLocation(1, 19), 2156Diagnostic(ErrorCode.ERR_IndexerNeedsParam, "]").WithLocation(1, 23), 2250Diagnostic(ErrorCode.ERR_IndexerNeedsParam, "[").WithLocation(1, 19), 7630Diagnostic(ErrorCode.ERR_IndexerNeedsParam).WithLocation(1, 1),
Parsing\ScriptParsingTests.cs (1)
1730Diagnostic(ErrorCode.ERR_IndexerNeedsParam).WithLocation(1, 1));