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