518 references to ERR_IdentifierExpected
Microsoft.CodeAnalysis.CSharp (16)
Binder\Binder_Patterns.cs (3)
1084diagnostics.Add(ErrorCode.ERR_IdentifierExpected, subPattern.ExpressionColon.Expression.Location); 1115diagnostics.Add(ErrorCode.ERR_IdentifierExpected, subpatternSyntax.ExpressionColon.Expression.Location); 1174diagnostics.Add(ErrorCode.ERR_IdentifierExpected, subpatternSyntax.ExpressionColon.Expression.Location);
Errors\ErrorFacts.cs (1)
1076case ErrorCode.ERR_IdentifierExpected:
Parser\DirectiveParser.cs (1)
249var name = this.EatToken(SyntaxKind.IdentifierToken, ErrorCode.ERR_IdentifierExpected);
Parser\LanguageParser.cs (10)
1854? this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_IdentifierExpected) 3319type = this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_IdentifierExpected); 4311identifier = this.AddError(CreateMissingIdentifierToken(), ErrorCode.ERR_IdentifierExpected); 4564identifier = this.AddError(identifier, ErrorCode.ERR_IdentifierExpected); 4957missingIdentifier = this.AddError(missingIdentifier, offset, width, ErrorCode.ERR_IdentifierExpected); 5383private IdentifierNameSyntax ParseIdentifierName(ErrorCode code = ErrorCode.ERR_IdentifierExpected) 5397private SyntaxToken ParseIdentifierToken(ErrorCode code = ErrorCode.ERR_IdentifierExpected) 5509this.AddError(CreateMissingIdentifierToken(), ErrorCode.ERR_IdentifierExpected)); 6360var missingName = this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_IdentifierExpected); 10926this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_IdentifierExpected));
Parser\SyntaxParser.cs (1)
657return 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)
3720Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(2, 19), 3767Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(2, 19),
CodeGen\CodeGenNullCoalescingAssignmentTests.cs (1)
1287Diagnostic(ErrorCode.ERR_IdentifierExpected, "??=").WithLocation(10, 16),
CodeGen\CodeGenUsingStatementTests.cs (1)
2659Diagnostic(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)
165Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(13, 13),
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (9)
Attributes\AttributeTests.cs (1)
7518Diagnostic(ErrorCode.ERR_IdentifierExpected, ">"),
Diagnostics\DiagnosticSuppressorTests.cs (1)
109Diagnostic(ErrorCode.ERR_IdentifierExpected, "{").WithLocation(2, 7));
Diagnostics\OperationAnalyzerTests.cs (1)
1013Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(12, 25),
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)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (9)
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 (55)
Semantics\AnonymousFunctionTests.cs (1)
1334Diagnostic(ErrorCode.ERR_IdentifierExpected, "=>").WithLocation(6, 42),
Semantics\BindingTests.cs (5)
678Diagnostic(ErrorCode.ERR_IdentifierExpected, ""), 2110Diagnostic(ErrorCode.ERR_IdentifierExpected, ""), 2878Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(7, 40), 2923Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(7, 32), 3460Diagnostic(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\IteratorTests.cs (1)
315Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 18),
Semantics\LambdaTests.cs (13)
1018Diagnostic(ErrorCode.ERR_IdentifierExpected, ""), 1072Diagnostic(ErrorCode.ERR_IdentifierExpected, ""), 1502Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(8, 23), 1537Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(8, 42), 1574Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(8, 20) 1606Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(8, 49) 2109Diagnostic(ErrorCode.ERR_IdentifierExpected, "}").WithLocation(6, 57), 2158Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(9, 55) 2204Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(9, 55) 2250Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(8, 55) 2296Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(8, 55) 2814Diagnostic(ErrorCode.ERR_IdentifierExpected, ">").WithLocation(10, 32) 6916Diagnostic(ErrorCode.ERR_IdentifierExpected, "=>").WithLocation(5, 45),
Semantics\LockTests.cs (1)
458Diagnostic(ErrorCode.ERR_IdentifierExpected, ")"),
Semantics\NullableReferenceTypesTests.cs (2)
3670Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(7, 33), 151918Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(11, 55),
Semantics\ObjectAndCollectionInitializerTests.cs (1)
3169Diagnostic(ErrorCode.ERR_IdentifierExpected, "3").WithLocation(9, 69),
Semantics\OverloadResolutionTests.cs (1)
8320Diagnostic(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\RecordStructTests.cs (1)
10002Diagnostic(ErrorCode.ERR_IdentifierExpected, "0").WithLocation(7, 27),
Semantics\RecordTests.cs (14)
213Diagnostic(ErrorCode.ERR_IdentifierExpected, "class").WithLocation(2, 8), 500Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(2, 23) 535Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(2, 23), 541Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(4, 15), 570Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(4, 14) 589Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(2, 28) 617Diagnostic(ErrorCode.ERR_IdentifierExpected, ",").WithLocation(2, 20), 620Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(2, 29), 651Diagnostic(ErrorCode.ERR_IdentifierExpected, ",").WithLocation(2, 20), 654Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(2, 26), 687Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(2, 20), 690Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(4, 18), 714Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(2, 11), 29117Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(2, 21),
Semantics\RefFieldTests.cs (8)
11144Diagnostic(ErrorCode.ERR_IdentifierExpected, "this").WithLocation(6, 30), 11236Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(2, 24), 11245Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(2, 26), 11269Diagnostic(ErrorCode.ERR_IdentifierExpected, "struct").WithLocation(1, 8), 21427Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(3, 34) 21450Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(3, 33) 21476Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(3, 34) 21603Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(2, 39)
Semantics\TopLevelStatementsTests.cs (1)
6006Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(16, 6),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (28)
Compilation\SemanticModelAPITests.cs (2)
396Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 10), 423Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 10));
Compilation\UsedAssembliesTests.cs (2)
4780Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(2, 15) 4797Diagnostic(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)
165Diagnostic(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 (9)
1120Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(5, 11), 1129Diagnostic(ErrorCode.ERR_IdentifierExpected, ">").WithLocation(5, 14), 1141Diagnostic(ErrorCode.ERR_IdentifierExpected, "{").WithLocation(5, 18), 1171Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(5, 11), 1180Diagnostic(ErrorCode.ERR_IdentifierExpected, ">").WithLocation(5, 14), 1195Diagnostic(ErrorCode.ERR_IdentifierExpected, "{").WithLocation(5, 18), 15466Diagnostic(ErrorCode.ERR_IdentifierExpected, "2").WithLocation(4, 34), 21401Diagnostic(ErrorCode.ERR_IdentifierExpected, @"\u0060").WithLocation(3, 7), 21428Diagnostic(ErrorCode.ERR_IdentifierExpected, @"\u007c").WithLocation(3, 7),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (391)
Diagnostics\DiagnosticTest.cs (9)
1889Diagnostic(ErrorCode.ERR_IdentifierExpected, "true").WithLocation(2, 9), 1892Diagnostic(ErrorCode.ERR_IdentifierExpected, "default").WithLocation(3, 9), 1895Diagnostic(ErrorCode.ERR_IdentifierExpected, "hidden").WithLocation(4, 9), 1898Diagnostic(ErrorCode.ERR_IdentifierExpected, "disable").WithLocation(5, 9), 1901Diagnostic(ErrorCode.ERR_IdentifierExpected, "checksum").WithLocation(6, 9), 1904Diagnostic(ErrorCode.ERR_IdentifierExpected, "restore").WithLocation(7, 9), 1907Diagnostic(ErrorCode.ERR_IdentifierExpected, "false").WithLocation(8, 9), 1986Diagnostic(ErrorCode.ERR_IdentifierExpected, "@").WithLocation(2, 9), 1989Diagnostic(ErrorCode.ERR_IdentifierExpected, "@").WithLocation(3, 9),
LexicalAndXml\DisabledRegionTests.cs (2)
152Diagnostic(ErrorCode.ERR_IdentifierExpected, "")); 186Diagnostic(ErrorCode.ERR_IdentifierExpected, ""));
LexicalAndXml\LexicalErrorTests.cs (1)
346Diagnostic(ErrorCode.ERR_IdentifierExpected, @"\"),
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), 2240Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(3, 6), 2295Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(3, 10),
Parsing\AsyncStreamsParsingTests.cs (1)
192Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(6, 21),
Parsing\DeclarationParsingTests.cs (19)
6268Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(4, 31), 7582Diagnostic(ErrorCode.ERR_IdentifierExpected, "]").WithLocation(1, 18), 7588Diagnostic(ErrorCode.ERR_IdentifierExpected, "!").WithLocation(1, 19), 7655Diagnostic(ErrorCode.ERR_IdentifierExpected, "]").WithLocation(1, 18), 7661Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(1, 19)); 8501Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(1, 13)); 8652Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(2, 16), 8680Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(2, 16), 8744Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(2, 22)); 8791Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(1, 13)); 8839Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(2, 22)); 9533Diagnostic(ErrorCode.ERR_IdentifierExpected, ">").WithLocation(3, 3) 9945Diagnostic(ErrorCode.ERR_IdentifierExpected, ">").WithLocation(3, 3) 10058Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(3, 9), 10207Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(3, 8), 10389Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(3, 6), 10506Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(3, 2), 10607Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(3, 4), 10663Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(2, @struct ? 7 : 6)
Parsing\DeclarationScopeParsingTests.cs (34)
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), 806Diagnostic(ErrorCode.ERR_IdentifierExpected, "readonly").WithLocation(1, 19), 862Diagnostic(ErrorCode.ERR_IdentifierExpected, "ref").WithLocation(1, 19), 1314Diagnostic(ErrorCode.ERR_IdentifierExpected, "params").WithLocation(1, 15), 1752Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(5, 20), 1758Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(6, 29), 3398Diagnostic(ErrorCode.ERR_IdentifierExpected, "=").WithLocation(2, 16), 3401Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(2, 19), 3454Diagnostic(ErrorCode.ERR_IdentifierExpected, "=").WithLocation(2, 25), 3457Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(2, 28), 5612Diagnostic(ErrorCode.ERR_IdentifierExpected, ",").WithLocation(2, 14), 5615Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(2, 17), 8752Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(2, 17), 8887Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(2, 26), 8936Diagnostic(ErrorCode.ERR_IdentifierExpected, "readonly").WithLocation(2, 17), 11454Diagnostic(ErrorCode.ERR_IdentifierExpected, "struct").WithLocation(1, 8), 11612Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(1, 17), 11624Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 24), 11727Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(1, 21), 11739Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 28), 12233Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(2, 23) 14005Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(4, 18), 14075Diagnostic(ErrorCode.ERR_IdentifierExpected, "ref").WithLocation(4, 18), 14149Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(4, 18), 14259Diagnostic(ErrorCode.ERR_IdentifierExpected, "ref").WithLocation(4, 18), 14831Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(4, 18), 14899Diagnostic(ErrorCode.ERR_IdentifierExpected, "ref").WithLocation(4, 18), 14966Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(2, 15), 15013Diagnostic(ErrorCode.ERR_IdentifierExpected, "ref").WithLocation(2, 15), 15060Diagnostic(ErrorCode.ERR_IdentifierExpected, "ref").WithLocation(2, 15),
Parsing\ExpressionParsingTests.cs (5)
3157Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(6, 14), 3740Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(6, 14), 5850Diagnostic(ErrorCode.ERR_IdentifierExpected, ".2").WithLocation(1, 4)); 6529Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(7, 31), 6566Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(7, 31),
Parsing\FileModifierParsingTests.cs (16)
2032Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 5), 2044Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 5), 2085Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 5), 2097Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 5), 2208Diagnostic(ErrorCode.ERR_IdentifierExpected, "namespace").WithLocation(1, 6), 2220Diagnostic(ErrorCode.ERR_IdentifierExpected, "namespace").WithLocation(1, 6), 2273Diagnostic(ErrorCode.ERR_IdentifierExpected, "namespace").WithLocation(1, 6), 2285Diagnostic(ErrorCode.ERR_IdentifierExpected, "namespace").WithLocation(1, 6), 2339Diagnostic(ErrorCode.ERR_IdentifierExpected, "namespace").WithLocation(1, 6), 2351Diagnostic(ErrorCode.ERR_IdentifierExpected, "namespace").WithLocation(1, 6), 2402Diagnostic(ErrorCode.ERR_IdentifierExpected, "namespace").WithLocation(1, 6), 2414Diagnostic(ErrorCode.ERR_IdentifierExpected, "namespace").WithLocation(1, 6), 2486Diagnostic(ErrorCode.ERR_IdentifierExpected, "{").WithLocation(1, 500007) 2491Diagnostic(ErrorCode.ERR_IdentifierExpected, "{").WithLocation(1, 500007) 3481Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(3, 17), 3493Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(3, 17),
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)
234Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(1, 11));
Parsing\LambdaParameterParsingTests.cs (15)
531Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(4, 46), 1240Diagnostic(ErrorCode.ERR_IdentifierExpected, "!").WithLocation(1, 20) 1969Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(1, 36)); 2285Diagnostic(ErrorCode.ERR_IdentifierExpected, "=").WithLocation(1, 12)); 3040Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 21), 3098Diagnostic(ErrorCode.ERR_IdentifierExpected, "=").WithLocation(1, 6)); 3138Diagnostic(ErrorCode.ERR_IdentifierExpected, "=").WithLocation(1, 14)); 5189Diagnostic(ErrorCode.ERR_IdentifierExpected, "=>").WithLocation(1, 8)); 5320Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(1, 5)); 5354Diagnostic(ErrorCode.ERR_IdentifierExpected, ",").WithLocation(1, 5), 5357Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(1, 10)); 5654Diagnostic(ErrorCode.ERR_IdentifierExpected, "=>").WithLocation(1, 1)); 5679Diagnostic(ErrorCode.ERR_IdentifierExpected, "=>").WithLocation(1, 3), 5688Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 9), 5730Diagnostic(ErrorCode.ERR_IdentifierExpected, "=>").WithLocation(1, 3),
Parsing\LambdaReturnTypeParsingTests.cs (3)
4035Diagnostic(ErrorCode.ERR_IdentifierExpected, ",").WithLocation(1, 8), 4038Diagnostic(ErrorCode.ERR_IdentifierExpected, ",").WithLocation(1, 15), 4041Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(1, 21));
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 (31)
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), 653Diagnostic(ErrorCode.ERR_IdentifierExpected, ">=").WithLocation(1, 14), 656Diagnostic(ErrorCode.ERR_IdentifierExpected, "=>").WithLocation(1, 27), 665Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 31), 969Diagnostic(ErrorCode.ERR_IdentifierExpected, ">").WithLocation(1, 26) 1016Diagnostic(ErrorCode.ERR_IdentifierExpected, ">").WithLocation(1, 27) 4127Diagnostic(ErrorCode.ERR_IdentifierExpected, ".operato").WithLocation(1, 14) 4190Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(1, 16) 5973Diagnostic(ErrorCode.ERR_IdentifierExpected, ".operato").WithLocation(1, 7) 6035Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(1, 9) 6097Diagnostic(ErrorCode.ERR_IdentifierExpected, ".operato").WithLocation(1, 9) 6165Diagnostic(ErrorCode.ERR_IdentifierExpected, "operator").WithLocation(1, 5) 6235Diagnostic(ErrorCode.ERR_IdentifierExpected, "int").WithLocation(1, 6) 7828Diagnostic(ErrorCode.ERR_IdentifierExpected, ".operato").WithLocation(1, 12) 7890Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(1, 14) 8063Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 21) 8117Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 21) 8176Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 21) 8287Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 21), 8456Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(1, 26) 8502Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 21), 8560Diagnostic(ErrorCode.ERR_IdentifierExpected, ".operato").WithLocation(1, 14) 8631Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(2, 9) 8721Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(1, 4) 8779Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(1, 8) 8837Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(1, 11)
Parsing\NameParsingTests.cs (2)
67Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, name.Errors()[0].Code); 82Assert.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, ">")); 2876Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(4, 43), 2940Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(4, 43), 2978Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(4, 43), 3027Diagnostic(ErrorCode.ERR_IdentifierExpected, "long"), 3033Diagnostic(ErrorCode.ERR_IdentifierExpected, ")")); 3920Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 17), 4559Diagnostic(ErrorCode.ERR_IdentifierExpected, ")")); 4690Diagnostic(ErrorCode.ERR_IdentifierExpected, "{").WithLocation(3, 49), 4752Diagnostic(ErrorCode.ERR_IdentifierExpected, "{").WithLocation(3, 49), 4784Diagnostic(ErrorCode.ERR_IdentifierExpected, "{").WithLocation(3, 49), 5302Diagnostic(ErrorCode.ERR_IdentifierExpected, ")"), 5305Diagnostic(ErrorCode.ERR_IdentifierExpected, ")")); 5531Diagnostic(ErrorCode.ERR_IdentifierExpected, "in"), 5573Diagnostic(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)
82Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 98Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 114Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 131Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 147Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 162Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 177Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 450Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 481Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 962Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1021Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1080Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1157Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1186Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1201Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1231Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1266Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1283Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1312Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1327Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1356Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1411Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1469Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1522Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1558Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1596Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[1].Code); 1649Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1685Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[1].Code); 1723Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1763Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[1].Code); 1905Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 1945Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[1].Code); 2014Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 2050Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[1].Code); 2109Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 2151Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[1].Code); 2188Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[1].Code); 2205Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 2253Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 2299Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[1].Code); 2317Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[1].Code); 2335Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 2386Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 2435Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[1].Code); 2465Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 2495Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[1].Code); 2886Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 2910Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[1].Code); 2934Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[1].Code); 2979Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 3963Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 6266Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 6281Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 6348Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); 6544Assert.Equal((int)ErrorCode.ERR_IdentifierExpected, file.Errors()[0].Code); //expecting item name - found "select" keyword 6862Diagnostic(ErrorCode.ERR_IdentifierExpected, "::").WithLocation(1, 4), 6865Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 6), 6991Diagnostic(ErrorCode.ERR_IdentifierExpected, "<"), 7022Diagnostic(ErrorCode.ERR_IdentifierExpected, "<"), 7025Diagnostic(ErrorCode.ERR_IdentifierExpected, "<"), 7081Diagnostic(ErrorCode.ERR_IdentifierExpected, "this"),
Parsing\PatternParsingTests.cs (4)
2166Diagnostic(ErrorCode.ERR_IdentifierExpected, ":").WithLocation(1, 41), 2177Diagnostic(ErrorCode.ERR_IdentifierExpected, ":").WithLocation(1, 20), 2746Diagnostic(ErrorCode.ERR_IdentifierExpected, ":").WithLocation(1, 43), 2768Diagnostic(ErrorCode.ERR_IdentifierExpected, ":").WithLocation(1, 22),
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), 2516Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 14)); 2520Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 14)); 2526Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 14)); 2530Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 14)); 2588Diagnostic(ErrorCode.ERR_IdentifierExpected, "struct").WithLocation(1, 8), 2603Diagnostic(ErrorCode.ERR_IdentifierExpected, "struct").WithLocation(1, 8), 2789Diagnostic(ErrorCode.ERR_IdentifierExpected, "class").WithLocation(1, 8), 2807Diagnostic(ErrorCode.ERR_IdentifierExpected, "class").WithLocation(1, 8), 2911Diagnostic(ErrorCode.ERR_IdentifierExpected, "interface").WithLocation(1, 8), 3795Diagnostic(ErrorCode.ERR_IdentifierExpected, "struct").WithLocation(1, 14), 3843Diagnostic(ErrorCode.ERR_IdentifierExpected, "struct").WithLocation(1, 14), 4024Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(3, 6),
Parsing\RefReadonlyTests.cs (4)
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),
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)
1991Diagnostic(ErrorCode.ERR_IdentifierExpected, "{").WithLocation(6, 19), 2075Diagnostic(ErrorCode.ERR_IdentifierExpected, "{").WithLocation(6, 19), 6621Diagnostic(ErrorCode.ERR_IdentifierExpected, "this").WithLocation(6, 16), 6741Diagnostic(ErrorCode.ERR_IdentifierExpected, "this").WithLocation(6, 16),
Parsing\StatementParsingTests.cs (1)
4184Diagnostic(ErrorCode.ERR_IdentifierExpected, "*").WithLocation(1, 7),
Parsing\TopLevelStatementsParsingTests.cs (29)
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) 1964Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 12), 2008Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 10) 2055Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 15) 2234Diagnostic(ErrorCode.ERR_IdentifierExpected, ".").WithLocation(1, 10), 2303Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 11), 2372Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 10), 2434Diagnostic(ErrorCode.ERR_IdentifierExpected, "'").WithLocation(1, 20), 2582Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 13) 2622Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 18) 2717Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 3), 2758Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(3, 3), 2827Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(2, 3), 3059Diagnostic(ErrorCode.ERR_IdentifierExpected, "struct").WithLocation(2, 8), 3199Diagnostic(ErrorCode.ERR_IdentifierExpected, "class").WithLocation(2, 8), 3217Diagnostic(ErrorCode.ERR_IdentifierExpected, "class").WithLocation(2, 8), 3370Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(3, 2), 3508Diagnostic(ErrorCode.ERR_IdentifierExpected, ")").WithLocation(2, 15), 3517Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(2, 17),
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), 413Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 34)); 473Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 17)); 512Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(1, 18)); 552Diagnostic(ErrorCode.ERR_IdentifierExpected, "(").WithLocation(1, 14), 3473Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(2, 17)); 3522Diagnostic(ErrorCode.ERR_IdentifierExpected, ";").WithLocation(2, 21));
Syntax\SyntaxFactoryTests.cs (2)
630Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 16), 641Diagnostic(ErrorCode.ERR_IdentifierExpected, "").WithLocation(1, 16),