33 references to ERR_GetOrSetExpected
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (1)
1150or ErrorCode.ERR_GetOrSetExpected
Parser\LanguageParser.cs (3)
4216declaringKind == AccessorDeclaringKind.Event ? ErrorCode.ERR_AddOrRemoveExpected : ErrorCode.ERR_GetOrSetExpected) == PostSkipAction.Abort) 4483declaringKind == AccessorDeclaringKind.Event ? ErrorCode.ERR_AddOrRemoveExpected : ErrorCode.ERR_GetOrSetExpected); 4499declaringKind == AccessorDeclaringKind.Event ? ErrorCode.ERR_AddOrRemoveExpected : ErrorCode.ERR_GetOrSetExpected);
Symbols\Source\SourcePropertySymbol.cs (1)
282diagnostics.Add(ErrorCode.ERR_GetOrSetExpected, accessor.Keyword.GetLocation());
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\LocalFunctionTests.cs (1)
9549Diagnostic(ErrorCode.ERR_GetOrSetExpected, "unknown").WithLocation(4, 41)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (22)
Symbols\DefaultInterfaceImplementationTests.cs (16)
2980Diagnostic(ErrorCode.ERR_GetOrSetExpected, "add").WithLocation(4, 13), 2983Diagnostic(ErrorCode.ERR_GetOrSetExpected, "remove").WithLocation(4, 18), 3016Diagnostic(ErrorCode.ERR_GetOrSetExpected, "add").WithLocation(4, 29), 3019Diagnostic(ErrorCode.ERR_GetOrSetExpected, "remove").WithLocation(4, 34), 3052Diagnostic(ErrorCode.ERR_GetOrSetExpected, "add").WithLocation(4, 28), 3055Diagnostic(ErrorCode.ERR_GetOrSetExpected, "remove").WithLocation(4, 33), 3173Diagnostic(ErrorCode.ERR_GetOrSetExpected, "add").WithLocation(4, 13), 3176Diagnostic(ErrorCode.ERR_GetOrSetExpected, "remove").WithLocation(4, 18), 3207Diagnostic(ErrorCode.ERR_GetOrSetExpected, "add").WithLocation(4, 29), 3210Diagnostic(ErrorCode.ERR_GetOrSetExpected, "remove").WithLocation(4, 34), 3241Diagnostic(ErrorCode.ERR_GetOrSetExpected, "add").WithLocation(4, 28), 3244Diagnostic(ErrorCode.ERR_GetOrSetExpected, "remove").WithLocation(4, 33), 5121Diagnostic(ErrorCode.ERR_GetOrSetExpected, "add").WithLocation(4, 22), 5124Diagnostic(ErrorCode.ERR_GetOrSetExpected, "remove").WithLocation(4, 27), 5189Diagnostic(ErrorCode.ERR_GetOrSetExpected, "add").WithLocation(4, 22), 5192Diagnostic(ErrorCode.ERR_GetOrSetExpected, "remove").WithLocation(4, 27),
Symbols\PartialPropertiesTests.cs (3)
5150Diagnostic(ErrorCode.ERR_GetOrSetExpected, "Console").WithLocation(6, 9), 5153Diagnostic(ErrorCode.ERR_GetOrSetExpected, ".").WithLocation(6, 16), 5156Diagnostic(ErrorCode.ERR_GetOrSetExpected, "Write").WithLocation(6, 17),
Symbols\Source\ExpressionBodiedPropertyTests.cs (1)
181Diagnostic(ErrorCode.ERR_GetOrSetExpected, ";").WithLocation(4, 20),
Symbols\SymbolErrorTests.cs (2)
14724Diagnostic(ErrorCode.ERR_GetOrSetExpected, "partial").WithLocation(3, 23), 14727Diagnostic(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)
7254Assert.Equal((int)ErrorCode.ERR_GetOrSetExpected, file.Errors()[0].Code);
Parsing\ScriptParsingTests.cs (1)
1929Diagnostic(ErrorCode.ERR_GetOrSetExpected, ";").WithLocation(1, 16),