33 references to ERR_GetOrSetExpected
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (1)
1149or 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)
2977Diagnostic(ErrorCode.ERR_GetOrSetExpected, "add").WithLocation(4, 13), 2980Diagnostic(ErrorCode.ERR_GetOrSetExpected, "remove").WithLocation(4, 18), 3013Diagnostic(ErrorCode.ERR_GetOrSetExpected, "add").WithLocation(4, 29), 3016Diagnostic(ErrorCode.ERR_GetOrSetExpected, "remove").WithLocation(4, 34), 3049Diagnostic(ErrorCode.ERR_GetOrSetExpected, "add").WithLocation(4, 28), 3052Diagnostic(ErrorCode.ERR_GetOrSetExpected, "remove").WithLocation(4, 33), 3170Diagnostic(ErrorCode.ERR_GetOrSetExpected, "add").WithLocation(4, 13), 3173Diagnostic(ErrorCode.ERR_GetOrSetExpected, "remove").WithLocation(4, 18), 3204Diagnostic(ErrorCode.ERR_GetOrSetExpected, "add").WithLocation(4, 29), 3207Diagnostic(ErrorCode.ERR_GetOrSetExpected, "remove").WithLocation(4, 34), 3238Diagnostic(ErrorCode.ERR_GetOrSetExpected, "add").WithLocation(4, 28), 3241Diagnostic(ErrorCode.ERR_GetOrSetExpected, "remove").WithLocation(4, 33), 5110Diagnostic(ErrorCode.ERR_GetOrSetExpected, "add").WithLocation(4, 22), 5113Diagnostic(ErrorCode.ERR_GetOrSetExpected, "remove").WithLocation(4, 27), 5178Diagnostic(ErrorCode.ERR_GetOrSetExpected, "add").WithLocation(4, 22), 5181Diagnostic(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)
14713Diagnostic(ErrorCode.ERR_GetOrSetExpected, "partial").WithLocation(3, 23), 14716Diagnostic(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)
1722Diagnostic(ErrorCode.ERR_GetOrSetExpected, ";").WithLocation(1, 16),