675 references to ERR_IdentifierExpected
Microsoft.CodeAnalysis.CSharp (15)
Binder\Binder_Patterns.cs (3)
1094diagnostics.Add(ErrorCode.ERR_IdentifierExpected, subPattern.ExpressionColon.Expression.Location); 1125diagnostics.Add(ErrorCode.ERR_IdentifierExpected, subpatternSyntax.ExpressionColon.Expression.Location); 1184diagnostics.Add(ErrorCode.ERR_IdentifierExpected, subpatternSyntax.ExpressionColon.Expression.Location);
Errors\ErrorFacts.cs (1)
1138or ErrorCode.ERR_IdentifierExpected
Parser\DirectiveParser.cs (1)
254var name = this.EatToken(SyntaxKind.IdentifierToken, ErrorCode.ERR_IdentifierExpected);
Parser\LanguageParser.cs (9)
2178? this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_IdentifierExpected) 3702type = this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_IdentifierExpected); 4798identifier = allowOptionalIdentifier ? null : this.AddError(CreateMissingIdentifierToken(), ErrorCode.ERR_IdentifierExpected); 4968identifier = this.AddError(identifier, ErrorCode.ERR_IdentifierExpected); 5379missingIdentifier = this.AddError(missingIdentifier, offset, width, ErrorCode.ERR_IdentifierExpected); 5804private IdentifierNameSyntax ParseIdentifierName(ErrorCode code = ErrorCode.ERR_IdentifierExpected) 5818private SyntaxToken ParseIdentifierToken(ErrorCode code = ErrorCode.ERR_IdentifierExpected) 5937this.AddError(CreateMissingIdentifierToken(), ErrorCode.ERR_IdentifierExpected)); 11823this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_IdentifierExpected));
Parser\SyntaxParser.cs (1)
693return ErrorCode.ERR_IdentifierExpected;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (10)
CodeGen\CodeGenDeconstructTests.cs (3)
4964Diagnostic(ErrorCode.ERR_IdentifierExpected, ",").WithLocation(4, 11), 4967Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(4, 14), 7595Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(6, 16)
CodeGen\CodeGenExprLambdaTests.cs (2)
3448Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(2, 19), 3495Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(2, 19),
CodeGen\CodeGenNullCoalescingAssignmentTests.cs (1)
1287Diagnostic(ErrorCode.ERR_IdentifierExpected, "??=").WithLocation(10, 16),
CodeGen\CodeGenUsingStatementTests.cs (1)
2660Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(6, 8),
CodeGen\FixedSizeBufferTests.cs (2)
862Diagnostic(ErrorCode.ERR_IdentifierExpected, "const").WithLocation(8, 18), 918Diagnostic(ErrorCode.ERR_IdentifierExpected, "fixed").WithLocation(8, 18),
Emit\CompilationEmitTests.cs (1)
166Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(13, 13),
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (28)
Attributes\AttributeTests.cs (1)
7816Diagnostic(ErrorCode.ERR_IdentifierExpected, ">"),
Attributes\AttributeTests_WellKnownAttributes.cs (1)
1897Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(6, 58)
Diagnostics\DiagnosticSuppressorTests.cs (1)
197Diagnostic(ErrorCode.ERR_IdentifierExpected, "{").WithLocation(2, 7));
Diagnostics\OperationAnalyzerTests.cs (1)
1013Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(12, 25),
RefReadonlyParameterTests.cs (3)
2127Diagnostic(ErrorCode.ERR_IdentifierExpected, "readonly").WithLocation(3, 37), 2160Diagnostic(ErrorCode.ERR_IdentifierExpected, "ref").WithLocation(3, 42), 2187Diagnostic(ErrorCode.ERR_IdentifierExpected, "readonly").WithLocation(3, 33),
Semantics\ExtensionTests.cs (1)
25552Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(5, 13),
Semantics\PatternMatchingTests.cs (1)
3258Diagnostic(ErrorCode.ERR_IdentifierExpected, "is").WithLocation(11, 22),
Semantics\PatternMatchingTests5.cs (5)
1599Diagnostic(ErrorCode.ERR_IdentifierExpected, "Property.Property").WithLocation(8, 22), 1633Diagnostic(ErrorCode.ERR_IdentifierExpected, "X.Y").WithLocation(7, 23), 1636Diagnostic(ErrorCode.ERR_IdentifierExpected, "Y.Z").WithLocation(7, 31) 1664Diagnostic(ErrorCode.ERR_IdentifierExpected, "X.Y").WithLocation(6, 24), 1667Diagnostic(ErrorCode.ERR_IdentifierExpected, "Y.Z").WithLocation(6, 32)
Semantics\RecordTests.cs (14)
213Diagnostic(ErrorCode.ERR_IdentifierExpected, "class").WithLocation(2, 8), 490Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(2, 23) 525Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(2, 23), 531Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(4, 15), 560Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(4, 14) 579Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(2, 28) 607Diagnostic(ErrorCode.ERR_IdentifierExpected, ",").WithLocation(2, 20), 613Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(2, 29) 641Diagnostic(ErrorCode.ERR_IdentifierExpected, ",").WithLocation(2, 20), 647Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(2, 26) 677Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(2, 20), 683Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(4, 18) 704Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(2, 11), 29243Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(2, 21),
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (10)
IOperation\IOperationTests_IArrayElementReferenceExpression.cs (1)
562Diagnostic(ErrorCode.ERR_IdentifierExpected, "?").WithLocation(6, 18)
IOperation\IOperationTests_IDynamicMemberReferenceExpression.cs (2)
73Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(11, 44) 145Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(9, 25)
IOperation\IOperationTests_InvalidStatement.cs (1)
51Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(8, 26),
IOperation\IOperationTests_IVariableDeclaration.cs (6)
268Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(6, 25), 1745Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(10, 65), 2119Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(8, 64), 2731Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(6, 43) 3141Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(6, 32), 3733Diagnostic(ErrorCode.ERR_IdentifierExpected, "=").WithLocation(7, 13)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (47)
Semantics\AnonymousFunctionTests.cs (1)
1334Diagnostic(ErrorCode.ERR_IdentifierExpected, "=>").WithLocation(6, 42),
Semantics\BindingTests.cs (5)
711Diagnostic(ErrorCode.ERR_IdentifierExpected, ""), 2143Diagnostic(ErrorCode.ERR_IdentifierExpected, ""), 2911Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(7, 40), 2956Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(7, 32), 3720Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(11, 15),
Semantics\DeconstructionTests.cs (4)
4011Diagnostic(ErrorCode.ERR_IdentifierExpected, "=").WithLocation(6, 40), 4040Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(6, 19), 4043Diagnostic(ErrorCode.ERR_IdentifierExpected, ",").WithLocation(6, 21), 4046Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(6, 24),
Semantics\InterpolationTests.cs (3)
19061Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(3, 21), 19123Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(3, 6), 19181Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(5, 10),
Semantics\IteratorTests.cs (1)
547Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 18),
Semantics\LambdaTests.cs (13)
1021Diagnostic(ErrorCode.ERR_IdentifierExpected, ""), 1075Diagnostic(ErrorCode.ERR_IdentifierExpected, ""), 1505Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(8, 23), 1540Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(8, 42), 1577Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(8, 20) 1609Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(8, 49) 2112Diagnostic(ErrorCode.ERR_IdentifierExpected, "}").WithLocation(6, 57), 2161Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(9, 55) 2207Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(9, 55) 2253Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(8, 55) 2299Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(8, 55) 2817Diagnostic(ErrorCode.ERR_IdentifierExpected, ">").WithLocation(10, 32) 6946Diagnostic(ErrorCode.ERR_IdentifierExpected, "=>").WithLocation(5, 45),
Semantics\LockTests.cs (1)
455Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(6, 32),
Semantics\NullableReferenceTypesTests.cs (2)
3682Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(7, 33), 161570Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(15, 20),
Semantics\ObjectAndCollectionInitializerTests.cs (1)
3188Diagnostic(ErrorCode.ERR_IdentifierExpected, "3").WithLocation(9, 69),
Semantics\OverloadResolutionTests.cs (1)
8315Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(16, 35),
Semantics\QueryTests.cs (1)
1897Diagnostic(ErrorCode.ERR_IdentifierExpected, "null").WithLocation(8, 66),
Semantics\ReadOnlyStructsTests.cs (1)
2148Diagnostic(ErrorCode.ERR_IdentifierExpected, "=>").WithLocation(6, 24),
Semantics\RefFieldTests.cs (9)
11397Diagnostic(ErrorCode.ERR_IdentifierExpected, "ref").WithLocation(8, 33), 11660Diagnostic(ErrorCode.ERR_IdentifierExpected, "this").WithLocation(6, 30), 11752Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(2, 24), 11761Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(2, 26), 11785Diagnostic(ErrorCode.ERR_IdentifierExpected, "struct").WithLocation(1, 8), 22034Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(3, 34) 22057Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(3, 33) 22083Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(3, 34) 22210Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(2, 39)
Semantics\SimpleLambdaParametersWithModifiersTests.cs (3)
471Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(7, 19)); 503Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(7, 30)); 536Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(5, 29));
Semantics\TopLevelStatementsTests.cs (1)
6019Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(16, 6),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (47)
Compilation\SemanticModelAPITests.cs (2)
396Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 10), 423Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 10));
Compilation\UsedAssembliesTests.cs (2)
4875Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(2, 15) 4892Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(2, 24)
DocumentationComments\CrefTests.cs (1)
3502Diagnostic(ErrorCode.ERR_IdentifierExpected, ")"));
Symbols\FunctionPointerTypeSymbolTests.cs (1)
318Diagnostic(ErrorCode.ERR_IdentifierExpected, "]").WithLocation(6, 47),
Symbols\RequiredMembersTests.cs (1)
149Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(4, 30),
Symbols\Source\EnumTests.cs (2)
205DiagnosticsUtils.VerifyErrorCodesNoLineColumn(comp.GetDiagnostics(), new ErrorDescription { Code = (int)ErrorCode.ERR_IdentifierExpected }); 492new ErrorDescription { Code = (int)ErrorCode.ERR_IdentifierExpected },
Symbols\Source\EventTests.cs (2)
2172Diagnostic(ErrorCode.ERR_IdentifierExpected, ""), 2189Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 41),
Symbols\Source\FieldTests.cs (4)
282Diagnostic(ErrorCode.ERR_IdentifierExpected, "delegate").WithLocation(4, 11), 297Diagnostic(ErrorCode.ERR_IdentifierExpected, "{").WithLocation(5, 46), 347Diagnostic(ErrorCode.ERR_IdentifierExpected, "delegate").WithLocation(4, 11), 365Diagnostic(ErrorCode.ERR_IdentifierExpected, "{").WithLocation(5, 46),
Symbols\Source\RecordTests.cs (4)
1218Diagnostic(ErrorCode.ERR_IdentifierExpected, "class").WithLocation(2, 6), 1227Diagnostic(ErrorCode.ERR_IdentifierExpected, "class").WithLocation(3, 6), 1245Diagnostic(ErrorCode.ERR_IdentifierExpected, "struct").WithLocation(4, 6), 1251Diagnostic(ErrorCode.ERR_IdentifierExpected, "struct").WithLocation(5, 6),
Symbols\SymbolErrorTests.cs (8)
1121Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(5, 11), 1130Diagnostic(ErrorCode.ERR_IdentifierExpected, ">").WithLocation(5, 14), 1142Diagnostic(ErrorCode.ERR_IdentifierExpected, "{").WithLocation(5, 18), 1172Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(5, 11), 1181Diagnostic(ErrorCode.ERR_IdentifierExpected, ">").WithLocation(5, 14), 1196Diagnostic(ErrorCode.ERR_IdentifierExpected, "{").WithLocation(5, 18), 21559Diagnostic(ErrorCode.ERR_IdentifierExpected, @"\u0060").WithLocation(3, 7), 21586Diagnostic(ErrorCode.ERR_IdentifierExpected, @"\u007c").WithLocation(3, 7),
Symbols\TypeTests.cs (20)
2432Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(3, 13), 2438Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(7, 13), 2514Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(3, 21), 2520Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(5, 18), 2526Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(6, 19), 2535Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(7, 22), 2544Diagnostic(ErrorCode.ERR_IdentifierExpected, "{").WithLocation(8, 18), 2556Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(10, 19), 2565Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(11, 25), 2568Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(12, 26), 2577Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(14, 35), 2580Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(16, 19), 2583Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(18, 18), 2586Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(19, 19), 2589Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(20, 22), 2592Diagnostic(ErrorCode.ERR_IdentifierExpected, "{").WithLocation(21, 18), 2604Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(23, 19), 2607Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(24, 25), 2610Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(25, 26), 2613Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(27, 35)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (518)
Diagnostics\DiagnosticTest.cs (9)
1927Diagnostic(ErrorCode.ERR_IdentifierExpected, "true").WithLocation(2, 9), 1930Diagnostic(ErrorCode.ERR_IdentifierExpected, "default").WithLocation(3, 9), 1933Diagnostic(ErrorCode.ERR_IdentifierExpected, "hidden").WithLocation(4, 9), 1936Diagnostic(ErrorCode.ERR_IdentifierExpected, "disable").WithLocation(5, 9), 1939Diagnostic(ErrorCode.ERR_IdentifierExpected, "checksum").WithLocation(6, 9), 1942Diagnostic(ErrorCode.ERR_IdentifierExpected, "restore").WithLocation(7, 9), 1945Diagnostic(ErrorCode.ERR_IdentifierExpected, "false").WithLocation(8, 9), 2024Diagnostic(ErrorCode.ERR_IdentifierExpected, "@").WithLocation(2, 9), 2027Diagnostic(ErrorCode.ERR_IdentifierExpected, "@").WithLocation(3, 9),
IncrementalParsing\IncrementalParsingTests.cs (5)
657Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(15, 18), 660Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(15, 19), 921Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(4, 19)); 937Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(4, 19)); 1104Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(4, 19));
LexicalAndXml\DisabledRegionTests.cs (2)
152Diagnostic(ErrorCode.ERR_IdentifierExpected, "")); 186Diagnostic(ErrorCode.ERR_IdentifierExpected, ""));
LexicalAndXml\LexicalErrorTests.cs (8)
144Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 3), 165Diagnostic(ErrorCode.ERR_IdentifierExpected, @"\").WithLocation(3, 18), 234Diagnostic(ErrorCode.ERR_IdentifierExpected, @"\").WithLocation(3, 18), 679Diagnostic(ErrorCode.ERR_IdentifierExpected, @"\"), 742Diagnostic(ErrorCode.ERR_IdentifierExpected, "\ud86d").WithLocation(6, 13), 771Diagnostic(ErrorCode.ERR_IdentifierExpected, "\udce7").WithLocation(6, 13), 800Diagnostic(ErrorCode.ERR_IdentifierExpected, "𫓧").WithLocation(6, 13), 830Diagnostic(ErrorCode.ERR_IdentifierExpected, @"\").WithLocation(6, 13),
LexicalAndXml\PreprocessorTests.cs (12)
2519VerifyErrorCode(node, (int)ErrorCode.ERR_IdentifierExpected); // CS1001 2532VerifyErrorCode(node, (int)ErrorCode.ERR_IdentifierExpected); // CS1001 2797VerifyErrorCode(node, (int)ErrorCode.ERR_IdentifierExpected); 2808VerifyErrorCode(node, (int)ErrorCode.ERR_IdentifierExpected); 2843VerifyErrorCode(node, (int)ErrorCode.ERR_IdentifierExpected); 2927(int)ErrorCode.ERR_IdentifierExpected, 2928(int)ErrorCode.ERR_IdentifierExpected, 2929(int)ErrorCode.ERR_IdentifierExpected, 2930(int)ErrorCode.ERR_IdentifierExpected, 2931(int)ErrorCode.ERR_IdentifierExpected, 2932(int)ErrorCode.ERR_IdentifierExpected, 2933(int)ErrorCode.ERR_IdentifierExpected);
Parsing\AnonymousFunctionParsingTests.cs (2)
2000Diagnostic(ErrorCode.ERR_IdentifierExpected, "=>").WithLocation(1, 55), 2028Diagnostic(ErrorCode.ERR_IdentifierExpected, "=>").WithLocation(1, 55),
Parsing\AsyncParsingTests.cs (4)
1435Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(4, 20), 1478Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(4, 24), 2220Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(3, 6), 2275Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(3, 10),
Parsing\AsyncStreamsParsingTests.cs (1)
192Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(6, 21),
Parsing\CollectionExpressionParsingTests.cs (10)
255Diagnostic(ErrorCode.ERR_IdentifierExpected, ",").WithLocation(1, 11), 520Diagnostic(ErrorCode.ERR_IdentifierExpected, "]").WithLocation(1, 11), 1676Diagnostic(ErrorCode.ERR_IdentifierExpected, ":").WithLocation(1, 6)); 1762Diagnostic(ErrorCode.ERR_IdentifierExpected, ":").WithLocation(1, 6)); 7373Diagnostic(ErrorCode.ERR_IdentifierExpected, ":").WithLocation(1, 6)); 12071Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 21)); 17179Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(8, 7)); 17412Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(8, 7)); 17661Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(8, 7)); 17904Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(8, 7));
Parsing\DeclarationParsingTests.cs (19)
6268Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(4, 31), 7570Diagnostic(ErrorCode.ERR_IdentifierExpected, "]").WithLocation(1, 18), 7576Diagnostic(ErrorCode.ERR_IdentifierExpected, "!").WithLocation(1, 19), 7636Diagnostic(ErrorCode.ERR_IdentifierExpected, "]").WithLocation(1, 18), 7642Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(1, 19)); 8406Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(1, 13)); 8557Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(2, 16), 8585Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(2, 16), 8649Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(2, 22)); 8696Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(1, 13)); 8744Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(2, 22)); 9438Diagnostic(ErrorCode.ERR_IdentifierExpected, ">").WithLocation(3, 3) 9850Diagnostic(ErrorCode.ERR_IdentifierExpected, ">").WithLocation(3, 3) 9963Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(3, 9), 10112Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(3, 8), 10294Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(3, 6), 10411Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(3, 2), 10512Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(3, 4), 10568Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(2, @struct ? 7 : 6)
Parsing\DeclarationParsingTests_MissingIdentifiers.cs (62)
43Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 20), 46Diagnostic(ErrorCode.ERR_IdentifierExpected, "{").WithLocation(9, 18) 169Diagnostic(ErrorCode.ERR_IdentifierExpected, ":").WithLocation(1, 14), 175Diagnostic(ErrorCode.ERR_IdentifierExpected, ":").WithLocation(6, 18), 178Diagnostic(ErrorCode.ERR_IdentifierExpected, ":").WithLocation(7, 18) 336Diagnostic(ErrorCode.ERR_IdentifierExpected, ":").WithLocation(1, 14), 339Diagnostic(ErrorCode.ERR_IdentifierExpected, "<").WithLocation(7, 18) 550Diagnostic(ErrorCode.ERR_IdentifierExpected, ":").WithLocation(1, 22), 553Diagnostic(ErrorCode.ERR_IdentifierExpected, "<").WithLocation(7, 18), 556Diagnostic(ErrorCode.ERR_IdentifierExpected, ":").WithLocation(12, 15), 559Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(14, 18) 815Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 22), 818Diagnostic(ErrorCode.ERR_IdentifierExpected, "<").WithLocation(8, 18), 821Diagnostic(ErrorCode.ERR_IdentifierExpected, "<").WithLocation(13, 22), 824Diagnostic(ErrorCode.ERR_IdentifierExpected, "<").WithLocation(20, 18) 1267Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 17), 1270Diagnostic(ErrorCode.ERR_IdentifierExpected, ":").WithLocation(5, 22), 1276Diagnostic(ErrorCode.ERR_IdentifierExpected, "{").WithLocation(6, 22) 1391Diagnostic(ErrorCode.ERR_IdentifierExpected, ":").WithLocation(1, 18), 1397Diagnostic(ErrorCode.ERR_IdentifierExpected, ":").WithLocation(6, 22), 1400Diagnostic(ErrorCode.ERR_IdentifierExpected, ":").WithLocation(7, 22) 1567Diagnostic(ErrorCode.ERR_IdentifierExpected, ":").WithLocation(1, 18), 1570Diagnostic(ErrorCode.ERR_IdentifierExpected, "<").WithLocation(7, 22) 1774Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 12) 1867Diagnostic(ErrorCode.ERR_IdentifierExpected, ":").WithLocation(1, 13) 1975Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 21), 1978Diagnostic(ErrorCode.ERR_IdentifierExpected, "{").WithLocation(9, 19) 2101Diagnostic(ErrorCode.ERR_IdentifierExpected, ":").WithLocation(1, 15), 2107Diagnostic(ErrorCode.ERR_IdentifierExpected, ":").WithLocation(6, 19), 2110Diagnostic(ErrorCode.ERR_IdentifierExpected, ":").WithLocation(7, 19) 2268Diagnostic(ErrorCode.ERR_IdentifierExpected, ":").WithLocation(1, 15), 2271Diagnostic(ErrorCode.ERR_IdentifierExpected, "<").WithLocation(7, 19) 2479Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 15), 2482Diagnostic(ErrorCode.ERR_IdentifierExpected, "<").WithLocation(8, 19) 2703Diagnostic(ErrorCode.ERR_IdentifierExpected, "<").WithLocation(1, 15), 2706Diagnostic(ErrorCode.ERR_IdentifierExpected, "<").WithLocation(8, 19) 2940Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 29), 2943Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(7, 33), 2946Diagnostic(ErrorCode.ERR_IdentifierExpected, "<").WithLocation(8, 18), 2949Diagnostic(ErrorCode.ERR_IdentifierExpected, ":").WithLocation(13, 21), 2952Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(15, 18) 3200Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 21), 3203Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(8, 33), 3206Diagnostic(ErrorCode.ERR_IdentifierExpected, "<").WithLocation(9, 18), 3209Diagnostic(ErrorCode.ERR_IdentifierExpected, "<").WithLocation(14, 19), 3212Diagnostic(ErrorCode.ERR_IdentifierExpected, "<").WithLocation(16, 23), 3215Diagnostic(ErrorCode.ERR_IdentifierExpected, "<").WithLocation(17, 16), 3218Diagnostic(ErrorCode.ERR_IdentifierExpected, ":").WithLocation(18, 16), 3221Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(19, 15) 3596Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 30), 3599Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(7, 34), 3602Diagnostic(ErrorCode.ERR_IdentifierExpected, "<").WithLocation(8, 19), 3605Diagnostic(ErrorCode.ERR_IdentifierExpected, ":").WithLocation(13, 22), 3608Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(15, 19) 3856Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 22), 3859Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(8, 34), 3862Diagnostic(ErrorCode.ERR_IdentifierExpected, "<").WithLocation(9, 19), 3865Diagnostic(ErrorCode.ERR_IdentifierExpected, "<").WithLocation(14, 20), 3868Diagnostic(ErrorCode.ERR_IdentifierExpected, "<").WithLocation(16, 24), 3871Diagnostic(ErrorCode.ERR_IdentifierExpected, "<").WithLocation(17, 17), 3874Diagnostic(ErrorCode.ERR_IdentifierExpected, ":").WithLocation(18, 17), 3877Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(19, 16)
Parsing\DeclarationScopeParsingTests.cs (33)
145Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(1, 19), 151Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(1, 36), 157Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(1, 54), 604Diagnostic(ErrorCode.ERR_IdentifierExpected, ",").WithLocation(1, 58) 749Diagnostic(ErrorCode.ERR_IdentifierExpected, "readonly").WithLocation(1, 15), 843Diagnostic(ErrorCode.ERR_IdentifierExpected, "ref").WithLocation(1, 19), 1307Diagnostic(ErrorCode.ERR_IdentifierExpected, "params").WithLocation(1, 15), 1745Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(5, 20), 1751Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(6, 29), 3391Diagnostic(ErrorCode.ERR_IdentifierExpected, "=").WithLocation(2, 16), 3394Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(2, 19), 3447Diagnostic(ErrorCode.ERR_IdentifierExpected, "=").WithLocation(2, 25), 3450Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(2, 28), 5344Diagnostic(ErrorCode.ERR_IdentifierExpected, ",").WithLocation(2, 14), 5347Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(2, 17), 8451Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(2, 17), 8586Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(2, 26), 8635Diagnostic(ErrorCode.ERR_IdentifierExpected, "readonly").WithLocation(2, 17), 11132Diagnostic(ErrorCode.ERR_IdentifierExpected, "struct").WithLocation(1, 8), 11290Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(1, 17), 11302Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 24), 11405Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(1, 21), 11417Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 28), 11911Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(2, 23) 13606Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(4, 18), 13676Diagnostic(ErrorCode.ERR_IdentifierExpected, "ref").WithLocation(4, 18), 13750Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(4, 18), 13860Diagnostic(ErrorCode.ERR_IdentifierExpected, "ref").WithLocation(4, 18), 14432Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(4, 18), 14500Diagnostic(ErrorCode.ERR_IdentifierExpected, "ref").WithLocation(4, 18), 14567Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(2, 15), 14614Diagnostic(ErrorCode.ERR_IdentifierExpected, "ref").WithLocation(2, 15), 14661Diagnostic(ErrorCode.ERR_IdentifierExpected, "ref").WithLocation(2, 15),
Parsing\ExpressionParsingTests.cs (7)
3157Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(6, 14), 3740Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(6, 14), 5850Diagnostic(ErrorCode.ERR_IdentifierExpected, ".2").WithLocation(1, 4)); 6009Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(1, 6)); 6560Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(7, 31), 6597Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(7, 31), 6994Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 21),
Parsing\ExtensionsParsingTests.cs (6)
47Diagnostic(ErrorCode.ERR_IdentifierExpected, "{").WithLocation(3, 45)); 1752Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(3, 26)); 1806Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(3, 25)); 1860Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(3, 20), 1934Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(3, 20), 3862Diagnostic(ErrorCode.ERR_IdentifierExpected, "{").WithLocation(3, 30),
Parsing\FileModifierParsingTests.cs (16)
2033Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 5), 2045Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 5), 2086Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 5), 2098Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 5), 2209Diagnostic(ErrorCode.ERR_IdentifierExpected, "namespace").WithLocation(1, 6), 2221Diagnostic(ErrorCode.ERR_IdentifierExpected, "namespace").WithLocation(1, 6), 2274Diagnostic(ErrorCode.ERR_IdentifierExpected, "namespace").WithLocation(1, 6), 2286Diagnostic(ErrorCode.ERR_IdentifierExpected, "namespace").WithLocation(1, 6), 2340Diagnostic(ErrorCode.ERR_IdentifierExpected, "namespace").WithLocation(1, 6), 2352Diagnostic(ErrorCode.ERR_IdentifierExpected, "namespace").WithLocation(1, 6), 2403Diagnostic(ErrorCode.ERR_IdentifierExpected, "namespace").WithLocation(1, 6), 2415Diagnostic(ErrorCode.ERR_IdentifierExpected, "namespace").WithLocation(1, 6), 2487Diagnostic(ErrorCode.ERR_IdentifierExpected, "{").WithLocation(1, 500007) 2492Diagnostic(ErrorCode.ERR_IdentifierExpected, "{").WithLocation(1, 500007) 3482Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(3, 17), 3494Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(3, 17),
Parsing\ForStatementParsingTest.cs (4)
668Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 25)); 737Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 29)); 814Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 28)); 3948Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 11),
Parsing\FunctionPointerTests.cs (23)
386Diagnostic(ErrorCode.ERR_IdentifierExpected, "]").WithLocation(1, 21) 879Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 12)); 923Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 15)); 965Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 19)); 1010Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 20)); 1060Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 25)); 1114Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 28)); 1219Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 11)); 1345Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 12)); 1427Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 22), 1436Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 22) 1494Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 27) 1546Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 27), 1555Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 27), 1659Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 21), 3131Diagnostic(ErrorCode.ERR_IdentifierExpected, "void").WithLocation(1, 10), 3175Diagnostic(ErrorCode.ERR_IdentifierExpected, "void").WithLocation(1, 28), 3656Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 10), 3700Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 27), 3760Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 37)); 3820Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 37)); 3879Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(5, 21), 3966Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(4, 14),
Parsing\LambdaAttributeParsingTests.cs (1)
2250Diagnostic(ErrorCode.ERR_IdentifierExpected, "]").WithLocation(1, 20));
Parsing\LambdaParameterParsingTests.cs (16)
526Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(4, 46), 1106Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(1, 39), 1181Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(1, 39), 2052Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(1, 36)); 2368Diagnostic(ErrorCode.ERR_IdentifierExpected, "=").WithLocation(1, 12)); 3123Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 21), 3181Diagnostic(ErrorCode.ERR_IdentifierExpected, "=").WithLocation(1, 6)); 3221Diagnostic(ErrorCode.ERR_IdentifierExpected, "=").WithLocation(1, 14)); 5267Diagnostic(ErrorCode.ERR_IdentifierExpected, "=>").WithLocation(1, 8)); 5388Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(1, 5)); 5422Diagnostic(ErrorCode.ERR_IdentifierExpected, ",").WithLocation(1, 5), 5425Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(1, 10)); 5750Diagnostic(ErrorCode.ERR_IdentifierExpected, "=>").WithLocation(1, 1)); 5775Diagnostic(ErrorCode.ERR_IdentifierExpected, "=>").WithLocation(1, 3), 5784Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 9), 5826Diagnostic(ErrorCode.ERR_IdentifierExpected, "=>").WithLocation(1, 3),
Parsing\LocalFunctionParsingTests.cs (15)
62Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(10, 15), 77Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(14, 16), 1259Diagnostic(ErrorCode.ERR_IdentifierExpected, "virtual").WithLocation(3, 22), 2480Diagnostic(ErrorCode.ERR_IdentifierExpected, "static").WithLocation(5, 14), 2492Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(5, 22), 2502Diagnostic(ErrorCode.ERR_IdentifierExpected, "static").WithLocation(5, 14), 2511Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(5, 22), 2521Diagnostic(ErrorCode.ERR_IdentifierExpected, "static").WithLocation(5, 14), 2530Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(5, 22), 2541Diagnostic(ErrorCode.ERR_IdentifierExpected, "static").WithLocation(5, 14), 2547Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(5, 22)); 2556Diagnostic(ErrorCode.ERR_IdentifierExpected, "static").WithLocation(5, 14), 2562Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(5, 22)); 2571Diagnostic(ErrorCode.ERR_IdentifierExpected, "static").WithLocation(5, 14), 2577Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(5, 22));
Parsing\MemberDeclarationParsingTests.cs (65)
487Diagnostic(ErrorCode.ERR_IdentifierExpected, ">").WithLocation(1, 14), 490Diagnostic(ErrorCode.ERR_IdentifierExpected, "=>").WithLocation(1, 27), 499Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 31), 570Diagnostic(ErrorCode.ERR_IdentifierExpected, ">").WithLocation(1, 15), 573Diagnostic(ErrorCode.ERR_IdentifierExpected, "=>").WithLocation(1, 27), 582Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 31), 935Diagnostic(ErrorCode.ERR_IdentifierExpected, ">").WithLocation(1, 26) 982Diagnostic(ErrorCode.ERR_IdentifierExpected, ">").WithLocation(1, 27) 4093Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(1, 14)); 4155Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(1, 16) 5938Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(1, 7)); 5999Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(1, 9) 6061Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(1, 9)); 6128Diagnostic(ErrorCode.ERR_IdentifierExpected, "operator").WithLocation(1, 5) 6198Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(1, 6) 7791Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(1, 12)); 7852Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(1, 14) 8025Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 21) 8079Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 21) 8138Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 21) 8249Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 21), 8418Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(1, 26) 8464Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 21), 8522Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(1, 14)); 8592Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(2, 9) 8682Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(1, 4) 8740Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(1, 8) 8798Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(1, 11) 12621Diagnostic(ErrorCode.ERR_IdentifierExpected, ">=").WithLocation(1, 14), 12627Diagnostic(ErrorCode.ERR_IdentifierExpected, "=>").WithLocation(1, 22), 12636Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 26), 12706Diagnostic(ErrorCode.ERR_IdentifierExpected, "=").WithLocation(1, 15), 12712Diagnostic(ErrorCode.ERR_IdentifierExpected, "=>").WithLocation(1, 22), 12721Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 26), 12791Diagnostic(ErrorCode.ERR_IdentifierExpected, ">").WithLocation(1, 14), 12797Diagnostic(ErrorCode.ERR_IdentifierExpected, "=>").WithLocation(1, 23), 12806Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 27), 12876Diagnostic(ErrorCode.ERR_IdentifierExpected, ">").WithLocation(1, 14), 12882Diagnostic(ErrorCode.ERR_IdentifierExpected, "=>").WithLocation(1, 23), 12891Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 27), 12961Diagnostic(ErrorCode.ERR_IdentifierExpected, ">").WithLocation(1, 14), 12967Diagnostic(ErrorCode.ERR_IdentifierExpected, "=>").WithLocation(1, 24), 12976Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 28), 13046Diagnostic(ErrorCode.ERR_IdentifierExpected, ">").WithLocation(1, 14), 13052Diagnostic(ErrorCode.ERR_IdentifierExpected, "=>").WithLocation(1, 25), 13061Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 29), 13131Diagnostic(ErrorCode.ERR_IdentifierExpected, ">=").WithLocation(1, 15), 13137Diagnostic(ErrorCode.ERR_IdentifierExpected, "=>").WithLocation(1, 23), 13146Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 27), 13216Diagnostic(ErrorCode.ERR_IdentifierExpected, ">").WithLocation(1, 15), 13222Diagnostic(ErrorCode.ERR_IdentifierExpected, "=>").WithLocation(1, 24), 13231Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 28), 13301Diagnostic(ErrorCode.ERR_IdentifierExpected, "=").WithLocation(1, 16), 13307Diagnostic(ErrorCode.ERR_IdentifierExpected, "=>").WithLocation(1, 23), 13316Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 27), 13395Diagnostic(ErrorCode.ERR_IdentifierExpected, "=").WithLocation(1, 14 + op.Length - 1), 13401Diagnostic(ErrorCode.ERR_IdentifierExpected, "=>").WithLocation(1, 21 + op.Length - 1), 13410Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 25 + op.Length - 1), 16433Diagnostic(ErrorCode.ERR_IdentifierExpected, "string").WithLocation(1, 67), 16442Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 87), 16451Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 95), 16564Diagnostic(ErrorCode.ERR_IdentifierExpected, "string").WithLocation(1, 67), 16573Diagnostic(ErrorCode.ERR_IdentifierExpected, ">").WithLocation(1, 74), 16576Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 88), 16585Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 96),
Parsing\NameParsingTests.cs (2)
65Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, name.Errors()[0].Code); 80Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, name.Errors()[1].Code);
Parsing\NullableParsingTests.cs (1)
196Diagnostic(ErrorCode.ERR_IdentifierExpected, "?").WithLocation(1, 9));
Parsing\ParserErrorMessageTests.cs (28)
641Diagnostic(ErrorCode.ERR_IdentifierExpected, "{").WithLocation(2, 20), 1378ParseAndValidate(test, Diagnostic(ErrorCode.ERR_IdentifierExpected, "")); 1389Diagnostic(ErrorCode.ERR_IdentifierExpected, ""), 1403ParseAndValidate(test, Diagnostic(ErrorCode.ERR_IdentifierExpected, ""), 1426Diagnostic(ErrorCode.ERR_IdentifierExpected, "1"), 1454Diagnostic(ErrorCode.ERR_IdentifierExpected, ",")); 1487Diagnostic(ErrorCode.ERR_IdentifierExpected, ")")); 1507Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(7, 13), 2089Diagnostic(ErrorCode.ERR_IdentifierExpected, @"\u0"), 2092Diagnostic(ErrorCode.ERR_IdentifierExpected, @"\u00"), 2095Diagnostic(ErrorCode.ERR_IdentifierExpected, @"\u000"), 2436Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 32), 2834Diagnostic(ErrorCode.ERR_IdentifierExpected, ">"), 2837Diagnostic(ErrorCode.ERR_IdentifierExpected, ">")); 2861Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(4, 41), 2891Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(4, 41), 2908Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(4, 41), 2948Diagnostic(ErrorCode.ERR_IdentifierExpected, "long"), 2954Diagnostic(ErrorCode.ERR_IdentifierExpected, ")")); 3841Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 17), 4480Diagnostic(ErrorCode.ERR_IdentifierExpected, ")")); 4596Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(3, 41)); 4624Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(3, 41)); 4632Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(3, 41)); 5141Diagnostic(ErrorCode.ERR_IdentifierExpected, ")"), 5144Diagnostic(ErrorCode.ERR_IdentifierExpected, ")")); 5370Diagnostic(ErrorCode.ERR_IdentifierExpected, "in"), 5412Diagnostic(ErrorCode.ERR_IdentifierExpected, ","),
Parsing\ParserRegressionTests.cs (4)
356Diagnostic(ErrorCode.ERR_IdentifierExpected, "::").WithLocation(6, 10)); 490Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(4, 6)); 580Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(4, 6)); 670Diagnostic(ErrorCode.ERR_IdentifierExpected, "::").WithLocation(5, 13));
Parsing\ParsingErrorRecoveryTests.cs (61)
244Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 260Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 276Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 293Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 309Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 324Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 339Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 612Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 643Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1124Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1183Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1242Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1319Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1348Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1363Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1393Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1428Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1445Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1474Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1489Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1518Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1573Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1631Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1684Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1720Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1758Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[1].Code); 1811Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1847Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[1].Code); 1885Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1925Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[1].Code); 2067Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 2107Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[1].Code); 2176Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 2212Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[1].Code); 2271Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 2313Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[1].Code); 2350Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[1].Code); 2367Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 2415Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 2461Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[1].Code); 2479Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[1].Code); 2497Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 2548Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 2597Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[1].Code); 2627Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 2657Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[1].Code); 3048Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 3072Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[1].Code); 3096Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[1].Code); 3141Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 4125Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 7070Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 7085Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 7152Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 7334Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); //expecting item name - found "select" keyword 7652Diagnostic(ErrorCode.ERR_IdentifierExpected, "::").WithLocation(1, 4), 7655Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 6), 7781Diagnostic(ErrorCode.ERR_IdentifierExpected, "<"), 7812Diagnostic(ErrorCode.ERR_IdentifierExpected, "<"), 7815Diagnostic(ErrorCode.ERR_IdentifierExpected, "<"), 7871Diagnostic(ErrorCode.ERR_IdentifierExpected, "this"),
Parsing\PatternParsingTests_ListPatterns.cs (3)
873Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(1, 13), 876Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 14)); 978Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(1, 9),
Parsing\RecordParsing.cs (13)
844Diagnostic(ErrorCode.ERR_IdentifierExpected, "{").WithLocation(1, 30), 2666Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 14)); 2670Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 14)); 2676Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 14)); 2680Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 14)); 2738Diagnostic(ErrorCode.ERR_IdentifierExpected, "struct").WithLocation(1, 8), 2753Diagnostic(ErrorCode.ERR_IdentifierExpected, "struct").WithLocation(1, 8), 2939Diagnostic(ErrorCode.ERR_IdentifierExpected, "class").WithLocation(1, 8), 2957Diagnostic(ErrorCode.ERR_IdentifierExpected, "class").WithLocation(1, 8), 3061Diagnostic(ErrorCode.ERR_IdentifierExpected, "interface").WithLocation(1, 8), 3945Diagnostic(ErrorCode.ERR_IdentifierExpected, "struct").WithLocation(1, 14), 3993Diagnostic(ErrorCode.ERR_IdentifierExpected, "struct").WithLocation(1, 14), 4174Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(3, 6),
Parsing\RefReadonlyTests.cs (8)
225Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(8, 54)); 252Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(8, 45)); 319Diagnostic(ErrorCode.ERR_IdentifierExpected, "in").WithLocation(8, 32), 363Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(10, 25), 944Diagnostic(ErrorCode.ERR_IdentifierExpected, "readonly").WithLocation(1, 19), 1006Diagnostic(ErrorCode.ERR_IdentifierExpected, "ref").WithLocation(1, 24), 1068Diagnostic(ErrorCode.ERR_IdentifierExpected, "readonly").WithLocation(1, 15), 1129Diagnostic(ErrorCode.ERR_IdentifierExpected, "readonly").WithLocation(1, 15),
Parsing\ScriptParsingTests.cs (20)
1713Diagnostic(ErrorCode.ERR_IdentifierExpected, "=").WithLocation(1, 13), 2286Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(15, 11)); 2984Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 7), 3026Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 11), 3302Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 14), 3577Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 21), 3757Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 13), 4010Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 13), 4640Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 7), 4950Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 10), 6870Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 12), 8121Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(2, 11), 8264Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(2, 13), 8414Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 8), 8598Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 8), 8648Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 8), 8697Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 9), 8746Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 14), 9110Diagnostic(ErrorCode.ERR_IdentifierExpected, "in").WithLocation(1, 14), 9186Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 9));
Parsing\SeparatedSyntaxListParsingTests.cs (6)
348Diagnostic(ErrorCode.ERR_IdentifierExpected, ",").WithLocation(12, 9), 351Diagnostic(ErrorCode.ERR_IdentifierExpected, ">").WithLocation(12, 10)); 727Diagnostic(ErrorCode.ERR_IdentifierExpected, ",").WithLocation(12, 9), 730Diagnostic(ErrorCode.ERR_IdentifierExpected, ">").WithLocation(12, 10), 756Diagnostic(ErrorCode.ERR_IdentifierExpected, ",").WithLocation(12, 9), 759Diagnostic(ErrorCode.ERR_IdentifierExpected, ">").WithLocation(12, 10));
Parsing\SingleLineDeclarationParsingTests.cs (3)
35Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 10), 96Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 13), 223Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 13));
Parsing\StatementAttributeParsingTests.cs (4)
1992Diagnostic(ErrorCode.ERR_IdentifierExpected, "{").WithLocation(6, 19), 2076Diagnostic(ErrorCode.ERR_IdentifierExpected, "{").WithLocation(6, 19), 6633Diagnostic(ErrorCode.ERR_IdentifierExpected, "this").WithLocation(6, 16), 6753Diagnostic(ErrorCode.ERR_IdentifierExpected, "this").WithLocation(6, 16),
Parsing\StatementParsingTests.cs (2)
5417Diagnostic(ErrorCode.ERR_IdentifierExpected, "=>").WithLocation(3, 12), 5426Diagnostic(ErrorCode.ERR_IdentifierExpected, "=>").WithLocation(5, 12),
Parsing\TopLevelStatementsParsingTests.cs (28)
101Diagnostic(ErrorCode.ERR_IdentifierExpected, "]").WithLocation(2, 5), 119Diagnostic(ErrorCode.ERR_IdentifierExpected, "]").WithLocation(6, 10), 805Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 17), 895Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 32), 977Diagnostic(ErrorCode.ERR_IdentifierExpected, "{").WithLocation(2, 20), 997Diagnostic(ErrorCode.ERR_IdentifierExpected, "{").WithLocation(2, 20), 1158Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(4, 4), 1471Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 38), 1716Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 2), 1799Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 10), 1923Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 15) 1967Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 12), 2011Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 10) 2058Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 15) 2237Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(1, 10), 2306Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 11), 2375Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 10), 2437Diagnostic(ErrorCode.ERR_IdentifierExpected, "'").WithLocation(1, 20), 2585Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 13) 2625Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 18) 2720Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 3), 2761Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(3, 3), 2830Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(2, 3), 3062Diagnostic(ErrorCode.ERR_IdentifierExpected, "struct").WithLocation(2, 8), 3202Diagnostic(ErrorCode.ERR_IdentifierExpected, "class").WithLocation(2, 8), 3220Diagnostic(ErrorCode.ERR_IdentifierExpected, "class").WithLocation(2, 8), 3373Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(3, 2), 3511Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(2, 15),
Parsing\UsingDirectiveParsingTests.cs (13)
71Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 14)); 110Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 27)); 166Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 10)); 201Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 11)); 240Diagnostic(ErrorCode.ERR_IdentifierExpected, ",").WithLocation(1, 11), 243Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(1, 13), 249Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(1, 16), 403Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 34)); 463Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 17)); 502Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 18)); 542Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 14), 3423Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(2, 17)); 3472Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(2, 21));
Syntax\SyntaxFactoryTests.cs (2)
644Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 16), 655Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 16),