30 references to ERR_GetOrSetExpected
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (1)
1087case ErrorCode.ERR_GetOrSetExpected:
Parser\LanguageParser.cs (3)
3745isEvent ? ErrorCode.ERR_AddOrRemoveExpected : ErrorCode.ERR_GetOrSetExpected) == PostSkipAction.Abort) 4010isEvent ? ErrorCode.ERR_AddOrRemoveExpected : ErrorCode.ERR_GetOrSetExpected); 4026isEvent ? ErrorCode.ERR_AddOrRemoveExpected : ErrorCode.ERR_GetOrSetExpected);
Symbols\Source\SourcePropertySymbol.cs (1)
214diagnostics.Add(ErrorCode.ERR_GetOrSetExpected, accessor.Keyword.GetLocation());
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\LocalFunctionTests.cs (1)
9469Diagnostic(ErrorCode.ERR_GetOrSetExpected, "unknown").WithLocation(4, 41)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (19)
Symbols\DefaultInterfaceImplementationTests.cs (16)
2989Diagnostic(ErrorCode.ERR_GetOrSetExpected, "add").WithLocation(4, 13), 2992Diagnostic(ErrorCode.ERR_GetOrSetExpected, "remove").WithLocation(4, 18), 3025Diagnostic(ErrorCode.ERR_GetOrSetExpected, "add").WithLocation(4, 29), 3028Diagnostic(ErrorCode.ERR_GetOrSetExpected, "remove").WithLocation(4, 34), 3061Diagnostic(ErrorCode.ERR_GetOrSetExpected, "add").WithLocation(4, 28), 3064Diagnostic(ErrorCode.ERR_GetOrSetExpected, "remove").WithLocation(4, 33), 3182Diagnostic(ErrorCode.ERR_GetOrSetExpected, "add").WithLocation(4, 13), 3185Diagnostic(ErrorCode.ERR_GetOrSetExpected, "remove").WithLocation(4, 18), 3216Diagnostic(ErrorCode.ERR_GetOrSetExpected, "add").WithLocation(4, 29), 3219Diagnostic(ErrorCode.ERR_GetOrSetExpected, "remove").WithLocation(4, 34), 3250Diagnostic(ErrorCode.ERR_GetOrSetExpected, "add").WithLocation(4, 28), 3253Diagnostic(ErrorCode.ERR_GetOrSetExpected, "remove").WithLocation(4, 33), 4925Diagnostic(ErrorCode.ERR_GetOrSetExpected, "add").WithLocation(4, 22), 4928Diagnostic(ErrorCode.ERR_GetOrSetExpected, "remove").WithLocation(4, 27), 4993Diagnostic(ErrorCode.ERR_GetOrSetExpected, "add").WithLocation(4, 22), 4996Diagnostic(ErrorCode.ERR_GetOrSetExpected, "remove").WithLocation(4, 27),
Symbols\Source\ExpressionBodiedPropertyTests.cs (1)
181Diagnostic(ErrorCode.ERR_GetOrSetExpected, ";").WithLocation(4, 20),
Symbols\SymbolErrorTests.cs (2)
14565Diagnostic(ErrorCode.ERR_GetOrSetExpected, "partial").WithLocation(3, 23), 14568Diagnostic(ErrorCode.ERR_GetOrSetExpected, "add").WithLocation(4, 34));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Parsing\ParserErrorMessageTests.cs (3)
2147Diagnostic(ErrorCode.ERR_GetOrSetExpected, "}"), 2148Diagnostic(ErrorCode.ERR_GetOrSetExpected, "}"), 2149Diagnostic(ErrorCode.ERR_GetOrSetExpected, "}"));
Parsing\ParsingErrorRecoveryTests.cs (1)
6450Assert.Equal((int)ErrorCode.ERR_GetOrSetExpected, file.Errors()[0].Code);
Parsing\ScriptParsingTests.cs (1)
1722Diagnostic(ErrorCode.ERR_GetOrSetExpected, ";").WithLocation(1, 16),