177 references to ERR_InvalidMemberDecl
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (1)
1218
or ErrorCode.
ERR_InvalidMemberDecl
Parser\LanguageParser.cs (3)
514
AddError(typeDeclaration.CloseBraceToken, ErrorCode.
ERR_InvalidMemberDecl
, "}"));
2029
token = this.AddError(token, ErrorCode.
ERR_InvalidMemberDecl
, token.Text);
3017
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)
777
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "~").WithArguments("~").WithLocation(3, 13),
780
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 (10)
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 (2)
21968
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(3, 23),
21971
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(3, 23)
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 (19)
Symbols\DefaultInterfaceImplementationTests.cs (14)
5186
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(4, 36),
5223
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(4, 33)
6823
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=>").WithArguments("=>").WithLocation(8, 7),
22388
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(4, 45),
22643
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(14, 37),
23597
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(4, 42),
24084
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(44, 45),
24307
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(20, 42),
24386
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(20, 44),
26625
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(7, 40),
43080
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(44, 38),
61962
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(9, 47),
61991
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(9, 42),
62020
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(9, 42),
Symbols\IndexerTests.cs (2)
3011
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "{").WithArguments("{").WithLocation(3, 35),
3014
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "{").WithArguments("{").WithLocation(3, 35),
Symbols\PartialPropertiesTests.cs (1)
5192
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)
15628
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(4, 36),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (126)
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 (1)
6182
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 (12)
311
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "{").WithArguments("{").WithLocation(3, 15),
314
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "{").WithArguments("{").WithLocation(3, 15),
322
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "{").WithArguments("{").WithLocation(3, 15),
325
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "{").WithArguments("{").WithLocation(3, 15),
1060
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ":").WithArguments(":").WithLocation(3, 26));
2407
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "(").WithArguments("(").WithLocation(3, 18),
2413
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "{").WithArguments("{").WithLocation(3, 25),
3596
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "(").WithArguments("(").WithLocation(3, 18),
3602
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "{").WithArguments("{").WithLocation(3, 25),
3905
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(3, 23),
3961
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(3, 23),
4212
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "{").WithArguments("{").WithLocation(3, 23),
Parsing\FileModifierParsingTests.cs (8)
1316
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(3, 15),
1319
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(3, 15));
1405
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(3, 14),
1408
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(3, 14)
1779
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(5, 22),
1782
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(5, 22),
1803
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(5, 22),
1806
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(5, 22),
Parsing\MemberDeclarationParsingTests.cs (29)
39
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "").WithArguments("").WithLocation(1, 8)
122
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=").WithArguments("=").WithLocation(1, 3),
1426
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(1, 15)
1471
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(1, 18)
1803
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "").WithArguments("").WithLocation(1, 16)
1823
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "").WithArguments("").WithLocation(1, 11)
1843
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "").WithArguments("").WithLocation(1, 9)
1861
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "").WithArguments("").WithLocation(1, 9)
2076
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(5, 23),
2079
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(5, 23),
10498
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(5, 5),
10583
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(5, 5),
10691
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(5, 5),
10810
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(5, 5),
10816
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(17, 5),
10969
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(8, 5),
10975
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(20, 5),
11143
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(8, 1),
11149
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(20, 1),
11317
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(7, 9),
11448
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(10, 5),
11454
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(22, 5),
11629
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(5, 9));
11926
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(6, 9));
12247
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(5, 5),
12332
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(5, 5),
12338
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "}").WithArguments("}").WithLocation(15, 5),
13824
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "void").WithArguments("void").WithLocation(1, 9)
13898
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(":"));
5865
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 (8)
139
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "operator").WithArguments("operator").WithLocation(11, 41),
142
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "operator").WithArguments("operator").WithLocation(11, 41),
269
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(7, 53),
272
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, ";").WithArguments(";").WithLocation(7, 53));
422
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "operator").WithArguments("operator").WithLocation(4, 37),
425
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "operator").WithArguments("operator").WithLocation(4, 37),
431
Diagnostic(ErrorCode.
ERR_InvalidMemberDecl
, "=>").WithArguments("=>").WithLocation(4, 57));
444
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),