185 references to ERR_InvalidMemberDecl
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (1)
1216
or ErrorCode.
ERR_InvalidMemberDecl
Parser\LanguageParser.cs (3)
514
AddError(typeDeclaration.CloseBraceToken, ErrorCode.
ERR_InvalidMemberDecl
, "}"));
2027
token = this.AddError(token, ErrorCode.
ERR_InvalidMemberDecl
, token.Text);
3009
ErrorCode.
ERR_InvalidMemberDecl
,
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
CodeGen\CodeGenDeconstructTests.cs (2)
4973
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(4, 16),
4985
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "1").WithArguments("1").WithLocation(4, 19),
CodeGen\CodeGenTupleTest.cs (1)
10954
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(8, 36));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (15)
Attributes\AttributeTests_Locations.cs (1)
74
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}"));
PartialEventsAndConstructorsTests.cs (2)
719
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "~").WithArguments("~").WithLocation(3, 13),
722
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "~").WithArguments("~").WithLocation(4, 13),
Semantics\PatternMatchingTests_Scope.cs (6)
3105
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(9, 36),
3108
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(9, 36),
3111
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(9, 39),
3114
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(9, 39),
3232
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(9, 26),
3235
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(9, 26),
Semantics\RecordTests.cs (4)
2862
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=>").WithArguments("=>").WithLocation(6, 24),
2865
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(6, 28),
2868
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(6, 28)
3284
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "string").WithArguments("string").WithLocation(13, 10),
Symbols\UserDefinedCompoundAssignmentOperatorsTests.cs (2)
7613
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "void").WithArguments("void").WithLocation(4, 20),
19708
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "void").WithArguments("void").WithLocation(4, 20),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (14)
Semantics\RecordStructTests.cs (2)
9854
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "(").WithArguments("(").WithLocation(11, 29),
9860
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(11, 32),
Semantics\RefFieldTests.cs (6)
21969
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(3, 23),
21972
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(3, 23)
21999
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "{").WithArguments("{").WithLocation(3, 27),
22002
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "{").WithArguments("{").WithLocation(3, 27),
22005
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=>").WithArguments("=>").WithLocation(3, 33),
22008
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=>").WithArguments("=>").WithLocation(3, 33),
Semantics\SimpleLambdaParametersWithModifiersTests.cs (4)
1254
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ")").WithArguments(")").WithLocation(7, 28),
1257
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ")").WithArguments(")").WithLocation(7, 28),
1297
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ")").WithArguments(")").WithLocation(7, 28),
1300
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ")").WithArguments(")").WithLocation(7, 28),
Semantics\TopLevelStatementsTests.cs (2)
636
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "(").WithArguments("(").WithLocation(4, 29),
648
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, @"""Hi!""").WithArguments(@"""Hi!""").WithLocation(4, 30)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (17)
Symbols\DefaultInterfaceImplementationTests.cs (14)
5175
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(4, 36),
5212
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(4, 33)
6812
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=>").WithArguments("=>").WithLocation(8, 7),
22377
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(4, 45),
22632
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(14, 37),
23586
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(4, 42),
24073
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(44, 45),
24296
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(20, 42),
24375
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(20, 44),
26614
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(7, 40),
43069
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(44, 38),
61966
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(9, 47),
61995
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(9, 42),
62024
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(9, 42),
Symbols\PartialPropertiesTests.cs (1)
5165
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(6, 25),
Symbols\Source\ExpressionBodiedPropertyTests.cs (1)
217
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=>").WithArguments("=>").WithLocation(4, 26));
Symbols\SymbolErrorTests.cs (1)
15617
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(4, 36),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (132)
IncrementalParsing\IncrementalParsingTests.cs (5)
636
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "if").WithArguments("if").WithLocation(13, 9),
648
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "true").WithArguments("true").WithLocation(13, 13),
651
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(15, 15),
654
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(15, 15),
663
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(15, 23),
LexicalAndXml\LexicalErrorTests.cs (2)
102
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(3, 43),
105
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(3, 43)
LexicalAndXml\PreprocessorTests.cs (1)
3554
VerifyErrorCode(tree.GetCompilationUnitRoot(), (int)ErrorCode.
ERR_InvalidMemberDecl
); // CS1519 - parser gives Two
Parsing\AsyncParsingTests.cs (16)
363
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "").WithArguments("").WithLocation(5, 1));
397
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "").WithArguments("").WithLocation(5, 1));
521
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "").WithArguments("").WithLocation(5, 1));
599
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "").WithArguments("").WithLocation(5, 1));
885
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(5, 1));
1111
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(4, 28),
1114
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(4, 28));
1900
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "int").WithArguments("int").WithLocation(4, 19),
2062
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "").WithArguments("").WithLocation(1, 18),
2095
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(1, 19));
2128
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "int").WithArguments("int").WithLocation(3, 5),
2131
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "").WithArguments("").WithLocation(3, 8),
2177
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "").WithArguments("").WithLocation(3, 11),
2217
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "class").WithArguments("class").WithLocation(3, 1),
2272
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "namespace").WithArguments("namespace").WithLocation(3, 1),
2325
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(4, 1));
Parsing\DeclarationParsingTests.cs (3)
2977
Assert.Equal(ErrorCode.
ERR_InvalidMemberDecl
, (ErrorCode)file.Errors()[1].Code);
2978
Assert.Equal(ErrorCode.
ERR_InvalidMemberDecl
, (ErrorCode)file.Errors()[2].Code);
6128
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(7, 1));
Parsing\DeclarationScopeParsingTests.cs (3)
13977
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "const").WithArguments("const").WithLocation(4, 12),
14100
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "fixed").WithArguments("fixed").WithLocation(4, 12)
14376
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "event").WithArguments("event").WithLocation(4, 12)
Parsing\DeconstructionTests.cs (1)
2389
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "object").WithArguments("object").WithLocation(4, 10),
Parsing\ExtensionsParsingTests.cs (11)
32
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "(").WithArguments("(").WithLocation(3, 17),
41
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ":").WithArguments(":").WithLocation(3, 36),
44
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ":").WithArguments(":").WithLocation(3, 36),
661
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ":").WithArguments(":").WithLocation(3, 26));
2008
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "(").WithArguments("(").WithLocation(3, 18),
2014
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "{").WithArguments("{").WithLocation(3, 25),
3197
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "(").WithArguments("(").WithLocation(3, 18),
3203
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "{").WithArguments("{").WithLocation(3, 25),
3506
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(3, 23),
3562
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(3, 23),
3813
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "{").WithArguments("{").WithLocation(3, 23),
Parsing\FileModifierParsingTests.cs (8)
1319
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(3, 15),
1322
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(3, 15));
1408
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(3, 14),
1411
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(3, 14)
1782
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(5, 22),
1785
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(5, 22),
1806
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(5, 22),
1809
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(5, 22),
Parsing\MemberDeclarationParsingTests.cs (32)
39
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "").WithArguments("").WithLocation(1, 8)
122
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(1, 3),
1232
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "{").WithArguments("{").WithLocation(1, 15)
1280
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "{").WithArguments("{").WithLocation(1, 19)
1299
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "{").WithArguments("{").WithLocation(1, 24)
1395
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(1, 15)
1440
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(1, 18)
1772
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "").WithArguments("").WithLocation(1, 16)
1792
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "").WithArguments("").WithLocation(1, 11)
1812
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "").WithArguments("").WithLocation(1, 9)
1830
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "").WithArguments("").WithLocation(1, 9)
2045
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(5, 23),
2048
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(5, 23),
10467
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(5, 5),
10552
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(5, 5),
10660
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(5, 5),
10779
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(5, 5),
10785
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(17, 5),
10938
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(8, 5),
10944
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(20, 5),
11112
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(8, 1),
11118
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(20, 1),
11286
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(7, 9),
11417
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(10, 5),
11423
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(22, 5),
11598
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(5, 9));
11895
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(6, 9));
12216
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(5, 5),
12301
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(5, 5),
12307
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(15, 5),
13793
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "void").WithArguments("void").WithLocation(1, 9)
13867
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "void").WithArguments("void").WithLocation(1, 9)
Parsing\NullableParsingTests.cs (2)
42
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(3, 18),
45
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(3, 18));
Parsing\ParserErrorMessageTests.cs (9)
57
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "{").WithArguments("{").WithLocation(10, 4),
3952
ParseAndValidate(test, Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "return").WithArguments("return"));
3972
ParseAndValidate(test, Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";"));
3991
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "goto").WithArguments("goto"),
3994
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";"),
3997
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";"),
4000
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ":").WithArguments(":"),
4003
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ":").WithArguments(":"));
5852
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "").WithArguments("").WithLocation(9, 1),
Parsing\ParserRegressionTests.cs (2)
193
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(6, 1));
211
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(6, 1));
Parsing\ParsingErrorRecoveryTests.cs (5)
1537
Assert.Equal((int)ErrorCode.
ERR_InvalidMemberDecl
, file.Errors()[0].Code);
1592
Assert.Equal((int)ErrorCode.
ERR_InvalidMemberDecl
, file.Errors()[0].Code);
1594
Assert.Equal((int)ErrorCode.
ERR_InvalidMemberDecl
, file.Errors()[2].Code);
1650
Assert.Equal((int)ErrorCode.
ERR_InvalidMemberDecl
, file.Errors()[0].Code);
6946
Assert.Equal((int)ErrorCode.
ERR_InvalidMemberDecl
, subitem2.Errors()[2].Code);
Parsing\PartialEventsAndConstructorsParsingTests.cs (1)
1094
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "const").WithArguments("const").WithLocation(1, 9));
Parsing\RecordParsing.cs (4)
395
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "return").WithArguments("return").WithLocation(2, 15),
398
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "return").WithArguments("return").WithLocation(5, 19));
1235
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "{").WithArguments("{").WithLocation(4, 10),
1238
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "{").WithArguments("{").WithLocation(4, 10),
Parsing\RefFieldParsingTests.cs (2)
102
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "out").WithArguments("out").WithLocation(1, 12));
138
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "in").WithArguments("in").WithLocation(1, 12));
Parsing\RefReadonlyTests.cs (10)
139
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "operator").WithArguments("operator").WithLocation(11, 41),
142
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "operator").WithArguments("operator").WithLocation(11, 41),
145
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "{").WithArguments("{").WithLocation(12, 5),
148
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "{").WithArguments("{").WithLocation(12, 5),
275
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(7, 53),
278
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(7, 53));
428
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "operator").WithArguments("operator").WithLocation(4, 37),
431
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "operator").WithArguments("operator").WithLocation(4, 37),
437
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=>").WithArguments("=>").WithLocation(4, 57));
450
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "in").WithArguments("in").WithLocation(4, 5));
Parsing\SeparatedSyntaxListParsingTests.cs (12)
330
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "(").WithArguments("(").WithLocation(4, 12),
336
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(4, 14),
339
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "(").WithArguments("(").WithLocation(5, 14),
345
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(5, 16),
676
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "(").WithArguments("(").WithLocation(4, 12),
682
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(4, 14),
685
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "(").WithArguments("(").WithLocation(5, 14),
691
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(5, 16),
738
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "(").WithArguments("(").WithLocation(4, 12),
744
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(4, 14),
747
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "(").WithArguments("(").WithLocation(5, 14),
753
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(5, 16),
Parsing\StatementAttributeParsingTests.cs (2)
7457
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "(").WithArguments("(").WithLocation(4, 15),
7463
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(4, 17));
Parsing\TopLevelStatementsParsingTests.cs (1)
663
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "{").WithArguments("{").WithLocation(5, 4),