251 references to ERR_TypeExpected
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Symbols.cs (1)
614diagnostics.Add(ErrorCode.ERR_TypeExpected, syntax.GetLocation());
Errors\ErrorFacts.cs (1)
1166or ErrorCode.ERR_TypeExpected
Parser\LanguageParser.cs (5)
2188bounds.Add(_syntaxFactory.TypeConstraint(this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_TypeExpected))); 2220bounds.Add(_syntaxFactory.TypeConstraint(this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_TypeExpected))); 6516result = this.AddError(result, ErrorCode.ERR_TypeExpected); 7783mode == ParseTypeMode.NewExpression ? ErrorCode.ERR_BadNewExpr : ErrorCode.ERR_TypeExpected); 10484mod = this.AddError(mod, ErrorCode.ERR_TypeExpected);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (6)
CodeGen\CodeGenDeconstructTests.cs (1)
4976Diagnostic(ErrorCode.ERR_TypeExpected, "1").WithLocation(4, 19),
CodeGen\CodeGenRefLocalTests.cs (1)
4188Diagnostic(ErrorCode.ERR_TypeExpected, "[").WithLocation(6, 31)
CodeGen\CodeGenRefReadonlyReturnTests.cs (1)
506Diagnostic(ErrorCode.ERR_TypeExpected, "ref").WithLocation(6, 25),
CodeGen\CodeGenUsingStatementTests.cs (1)
2657Diagnostic(ErrorCode.ERR_TypeExpected, "").WithLocation(6, 8),
CodeGen\FixedSizeBufferTests.cs (2)
859Diagnostic(ErrorCode.ERR_TypeExpected, "const").WithLocation(8, 18), 915Diagnostic(ErrorCode.ERR_TypeExpected, "fixed").WithLocation(8, 18),
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (10)
Attributes\AttributeTests_WellKnownAttributes.cs (1)
1894Diagnostic(ErrorCode.ERR_TypeExpected, ")").WithLocation(6, 58),
FlowAnalysis\FlowDiagnosticTests.cs (2)
867Diagnostic(ErrorCode.ERR_TypeExpected, ",").WithLocation(6, 21)); 871Diagnostic(ErrorCode.ERR_TypeExpected, ",").WithLocation(6, 21));
Semantics\ExtensionTests.cs (1)
4078Diagnostic(ErrorCode.ERR_TypeExpected, ")").WithLocation(3, 15));
Semantics\RecordTests.cs (6)
487Diagnostic(ErrorCode.ERR_TypeExpected, ")").WithLocation(2, 23), 522Diagnostic(ErrorCode.ERR_TypeExpected, "").WithLocation(2, 23), 528Diagnostic(ErrorCode.ERR_TypeExpected, ")").WithLocation(4, 15), 557Diagnostic(ErrorCode.ERR_TypeExpected, ")").WithLocation(4, 14), 30392Diagnostic(ErrorCode.ERR_TypeExpected, "").WithLocation(2, 11), 30398Diagnostic(ErrorCode.ERR_TypeExpected, "").WithLocation(10, 17)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (3)
IOperation\IOperationTests_IDynamicMemberReferenceExpression.cs (1)
327Diagnostic(ErrorCode.ERR_TypeExpected, ">").WithLocation(9, 38)
IOperation\IOperationTests_ISizeOfExpression.cs (1)
223Diagnostic(ErrorCode.ERR_TypeExpected, ")").WithLocation(8, 30),
IOperation\IOperationTests_ITypeOfExpression.cs (1)
182Diagnostic(ErrorCode.ERR_TypeExpected, ")").WithLocation(8, 30)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (21)
Semantics\BindingTests.cs (2)
708Diagnostic(ErrorCode.ERR_TypeExpected, ""), 2137Diagnostic(ErrorCode.ERR_TypeExpected, ""),
Semantics\FunctionPointerTests.cs (1)
3918Diagnostic(ErrorCode.ERR_TypeExpected, "__arglist").WithLocation(4, 64),
Semantics\ImplicitObjectCreationTests.cs (2)
2811Diagnostic(ErrorCode.ERR_TypeExpected, "new").WithLocation(6, 20), 2849Diagnostic(ErrorCode.ERR_TypeExpected, "new").WithLocation(6, 20),
Semantics\MethodTypeInferenceTests.cs (1)
890Diagnostic(ErrorCode.ERR_TypeExpected, ">"),
Semantics\NameOfTests.cs (4)
251Diagnostic(ErrorCode.ERR_TypeExpected, ">").WithLocation(17, 66), 2660Diagnostic(ErrorCode.ERR_TypeExpected, ",").WithLocation(4, 27)); 2675Diagnostic(ErrorCode.ERR_TypeExpected, ">").WithLocation(4, 31)); 2952Diagnostic(ErrorCode.ERR_TypeExpected, ",").WithLocation(7, 26),
Semantics\NullableReferenceTypesTests.cs (2)
2744Diagnostic(ErrorCode.ERR_TypeExpected, "!").WithLocation(7, 19), 144223Diagnostic(ErrorCode.ERR_TypeExpected, "").WithLocation(2, 10),
Semantics\QueryTests.cs (1)
1894Diagnostic(ErrorCode.ERR_TypeExpected, "null").WithLocation(8, 66),
Semantics\RefFieldTests.cs (1)
11791Diagnostic(ErrorCode.ERR_TypeExpected, "struct").WithLocation(2, 12),
Semantics\SemanticErrorTests.cs (1)
9826Diagnostic(ErrorCode.ERR_TypeExpected, ">"),
Semantics\TargetTypedDefaultTests.cs (1)
1196Diagnostic(ErrorCode.ERR_TypeExpected, ")").WithLocation(14, 17),
Semantics\TopLevelStatementsTests.cs (2)
639Diagnostic(ErrorCode.ERR_TypeExpected, @"""Hi!""").WithLocation(4, 30), 9730Diagnostic(ErrorCode.ERR_TypeExpected, "").WithLocation(1, 13),
Semantics\TypeOfTests.cs (1)
121Diagnostic(ErrorCode.ERR_TypeExpected, ",").WithLocation(7, 26),
Semantics\UnsafeTests.cs (2)
10515Diagnostic(ErrorCode.ERR_TypeExpected, "this"), 10563Diagnostic(ErrorCode.ERR_TypeExpected, "null"),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (7)
Symbols\LocalFunctionTests.cs (1)
147Diagnostic(ErrorCode.ERR_TypeExpected, "partial").WithLocation(5, 16),
Symbols\Source\EnumTests.cs (1)
711new ErrorDescription { Code = (int)ErrorCode.ERR_TypeExpected },
Symbols\Source\EventTests.cs (2)
2130Diagnostic(ErrorCode.ERR_TypeExpected, "this"), 2158Diagnostic(ErrorCode.ERR_TypeExpected, ""),
Symbols\Source\FieldTests.cs (2)
279Diagnostic(ErrorCode.ERR_TypeExpected, "delegate").WithLocation(4, 11), 344Diagnostic(ErrorCode.ERR_TypeExpected, "delegate").WithLocation(4, 11),
Symbols\SymbolErrorTests.cs (1)
15614Diagnostic(ErrorCode.ERR_TypeExpected, "[").WithLocation(4, 33),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (197)
Diagnostics\DiagnosticTest.cs (8)
2536Diagnostic(ErrorCode.ERR_TypeExpected, "0").WithLocation(7, 35), 2539Diagnostic(ErrorCode.ERR_TypeExpected, "static").WithLocation(8, 35), 2542Diagnostic(ErrorCode.ERR_TypeExpected, "0").WithLocation(15, 33), 2545Diagnostic(ErrorCode.ERR_TypeExpected, "1").WithLocation(15, 35), 2548Diagnostic(ErrorCode.ERR_TypeExpected, "0").WithLocation(16, 33), 2551Diagnostic(ErrorCode.ERR_TypeExpected, "static").WithLocation(17, 33), 2554Diagnostic(ErrorCode.ERR_TypeExpected, "0").WithLocation(24, 43), 2557Diagnostic(ErrorCode.ERR_TypeExpected, "static").WithLocation(25, 43),
IncrementalParsing\IncrementalParsingTests.cs (1)
639Diagnostic(ErrorCode.ERR_TypeExpected, "true").WithLocation(13, 13),
LexicalAndXml\LexicalErrorTests.cs (4)
430Diagnostic(ErrorCode.ERR_TypeExpected, "const").WithLocation(7, 15), 433Diagnostic(ErrorCode.ERR_TypeExpected, "const").WithLocation(8, 15), 436Diagnostic(ErrorCode.ERR_TypeExpected, "const").WithLocation(8, 21), 448Diagnostic(ErrorCode.ERR_TypeExpected, "const").WithLocation(9, 42)
Parsing\AsyncParsingTests.cs (9)
678Diagnostic(ErrorCode.ERR_TypeExpected, "").WithLocation(4, 16), 724Diagnostic(ErrorCode.ERR_TypeExpected, "").WithLocation(4, 22), 778Diagnostic(ErrorCode.ERR_TypeExpected, "").WithLocation(4, 29), 1522Diagnostic(ErrorCode.ERR_TypeExpected, "").WithLocation(4, 16), 1572Diagnostic(ErrorCode.ERR_TypeExpected, "").WithLocation(4, 24), 1623Diagnostic(ErrorCode.ERR_TypeExpected, "").WithLocation(4, 28), 1680Diagnostic(ErrorCode.ERR_TypeExpected, "").WithLocation(4, 36), 1734Diagnostic(ErrorCode.ERR_TypeExpected, "").WithLocation(4, 28), 1791Diagnostic(ErrorCode.ERR_TypeExpected, "").WithLocation(4, 36),
Parsing\DeclarationParsingTests.cs (8)
6726Diagnostic(ErrorCode.ERR_TypeExpected, "where").WithLocation(2, 14), 6729Diagnostic(ErrorCode.ERR_TypeExpected, "").WithLocation(2, 23), 6794Diagnostic(ErrorCode.ERR_TypeExpected, "where").WithLocation(2, 14), 7573Diagnostic(ErrorCode.ERR_TypeExpected, "!").WithLocation(1, 19), 7639Diagnostic(ErrorCode.ERR_TypeExpected, ")").WithLocation(1, 19), 9960Diagnostic(ErrorCode.ERR_TypeExpected, ";").WithLocation(3, 9), 10109Diagnostic(ErrorCode.ERR_TypeExpected, "").WithLocation(3, 8), 10291Diagnostic(ErrorCode.ERR_TypeExpected, "").WithLocation(3, 6),
Parsing\DeclarationParsingTests_MissingIdentifiers.cs (4)
172Diagnostic(ErrorCode.ERR_TypeExpected, "").WithLocation(1, 15), 1273Diagnostic(ErrorCode.ERR_TypeExpected, "{").WithLocation(5, 24), 1394Diagnostic(ErrorCode.ERR_TypeExpected, "").WithLocation(1, 19), 2104Diagnostic(ErrorCode.ERR_TypeExpected, "").WithLocation(1, 16),
Parsing\DeclarationScopeParsingTests.cs (4)
11138Diagnostic(ErrorCode.ERR_TypeExpected, "struct").WithLocation(2, 12) 11533Diagnostic(ErrorCode.ERR_TypeExpected, "struct").WithLocation(2, 19) 14036Diagnostic(ErrorCode.ERR_TypeExpected, "const").WithLocation(4, 16), 14168Diagnostic(ErrorCode.ERR_TypeExpected, "fixed").WithLocation(4, 16)
Parsing\ExtensionsParsingTests.cs (12)
290Diagnostic(ErrorCode.ERR_TypeExpected, "where").WithLocation(3, 42)); 3618Diagnostic(ErrorCode.ERR_TypeExpected, ";").WithLocation(3, 17), 3686Diagnostic(ErrorCode.ERR_TypeExpected, ";").WithLocation(3, 15), 3868Diagnostic(ErrorCode.ERR_TypeExpected, "{").WithLocation(3, 30)); 3943Diagnostic(ErrorCode.ERR_TypeExpected, "{").WithLocation(3, 32)); 4021Diagnostic(ErrorCode.ERR_TypeExpected, "{").WithLocation(3, 34)); 4092Diagnostic(ErrorCode.ERR_TypeExpected, "{").WithLocation(3, 42)); 4175Diagnostic(ErrorCode.ERR_TypeExpected, "{").WithLocation(3, 17), 4311Diagnostic(ErrorCode.ERR_TypeExpected, ")").WithLocation(3, 15)); 4357Diagnostic(ErrorCode.ERR_TypeExpected, ")").WithLocation(3, 18)); 4441Diagnostic(ErrorCode.ERR_TypeExpected, ")").WithLocation(3, 17)); 4816Diagnostic(ErrorCode.ERR_TypeExpected, "").WithLocation(3, 31),
Parsing\FileModifierParsingTests.cs (6)
1788Diagnostic(ErrorCode.ERR_TypeExpected, "[").WithLocation(6, 16), 1791Diagnostic(ErrorCode.ERR_TypeExpected, "*").WithLocation(7, 16), 1794Diagnostic(ErrorCode.ERR_TypeExpected, "?").WithLocation(8, 16) 1812Diagnostic(ErrorCode.ERR_TypeExpected, "[").WithLocation(6, 16), 1818Diagnostic(ErrorCode.ERR_TypeExpected, "*").WithLocation(7, 16), 1827Diagnostic(ErrorCode.ERR_TypeExpected, "?").WithLocation(8, 16),
Parsing\FunctionPointerTests.cs (5)
873Diagnostic(ErrorCode.ERR_TypeExpected, ";").WithLocation(1, 12), 917Diagnostic(ErrorCode.ERR_TypeExpected, ";").WithLocation(1, 15), 1004Diagnostic(ErrorCode.ERR_TypeExpected, ";").WithLocation(1, 20), 1339Diagnostic(ErrorCode.ERR_TypeExpected, ";").WithLocation(1, 12), 1615Diagnostic(ErrorCode.ERR_TypeExpected, ">").WithLocation(1, 11));
Parsing\LambdaParameterParsingTests.cs (1)
3120Diagnostic(ErrorCode.ERR_TypeExpected, "").WithLocation(1, 21),
Parsing\LocalFunctionParsingTests.cs (33)
1256Diagnostic(ErrorCode.ERR_TypeExpected, "virtual").WithLocation(3, 22), 1945Diagnostic(ErrorCode.ERR_TypeExpected, "static").WithLocation(5, 16), 1960Diagnostic(ErrorCode.ERR_TypeExpected, "static").WithLocation(6, 22), 1976Diagnostic(ErrorCode.ERR_TypeExpected, "static").WithLocation(5, 16), 1985Diagnostic(ErrorCode.ERR_TypeExpected, "static").WithLocation(6, 22), 1998Diagnostic(ErrorCode.ERR_TypeExpected, "static").WithLocation(5, 16), 2007Diagnostic(ErrorCode.ERR_TypeExpected, "static").WithLocation(6, 22), 2021Diagnostic(ErrorCode.ERR_TypeExpected, "static").WithLocation(5, 16), 2024Diagnostic(ErrorCode.ERR_TypeExpected, "static").WithLocation(6, 22)); 2030Diagnostic(ErrorCode.ERR_TypeExpected, "static").WithLocation(5, 16), 2033Diagnostic(ErrorCode.ERR_TypeExpected, "static").WithLocation(6, 22)); 2039Diagnostic(ErrorCode.ERR_TypeExpected, "static").WithLocation(5, 16), 2042Diagnostic(ErrorCode.ERR_TypeExpected, "static").WithLocation(6, 22)); 2130Diagnostic(ErrorCode.ERR_TypeExpected, "async").WithLocation(6, 15), 2138Diagnostic(ErrorCode.ERR_TypeExpected, "async").WithLocation(6, 15)); 2207Diagnostic(ErrorCode.ERR_TypeExpected, "async").WithLocation(6, 15), 2213Diagnostic(ErrorCode.ERR_TypeExpected, "async").WithLocation(6, 21)); 2218Diagnostic(ErrorCode.ERR_TypeExpected, "async").WithLocation(6, 15), 2221Diagnostic(ErrorCode.ERR_TypeExpected, "async").WithLocation(6, 21)); 2291Diagnostic(ErrorCode.ERR_TypeExpected, "async").WithLocation(6, 15), 2297Diagnostic(ErrorCode.ERR_TypeExpected, "async").WithLocation(6, 21), 2300Diagnostic(ErrorCode.ERR_TypeExpected, "async").WithLocation(6, 27)); 2305Diagnostic(ErrorCode.ERR_TypeExpected, "async").WithLocation(6, 15), 2308Diagnostic(ErrorCode.ERR_TypeExpected, "async").WithLocation(6, 21), 2311Diagnostic(ErrorCode.ERR_TypeExpected, "async").WithLocation(6, 27)); 2382Diagnostic(ErrorCode.ERR_TypeExpected, "async").WithLocation(6, 15), 2388Diagnostic(ErrorCode.ERR_TypeExpected, "async").WithLocation(6, 21), 2391Diagnostic(ErrorCode.ERR_TypeExpected, "async").WithLocation(6, 27), 2394Diagnostic(ErrorCode.ERR_TypeExpected, "async").WithLocation(6, 33)); 2399Diagnostic(ErrorCode.ERR_TypeExpected, "async").WithLocation(6, 15), 2402Diagnostic(ErrorCode.ERR_TypeExpected, "async").WithLocation(6, 21), 2405Diagnostic(ErrorCode.ERR_TypeExpected, "async").WithLocation(6, 27), 2408Diagnostic(ErrorCode.ERR_TypeExpected, "async").WithLocation(6, 33));
Parsing\MemberDeclarationParsingTests.cs (4)
2051Diagnostic(ErrorCode.ERR_TypeExpected, "[").WithLocation(6, 13), 2054Diagnostic(ErrorCode.ERR_TypeExpected, "*").WithLocation(7, 13), 2057Diagnostic(ErrorCode.ERR_TypeExpected, "?").WithLocation(8, 13) 8298Diagnostic(ErrorCode.ERR_TypeExpected, ")").WithLocation(1, 29),
Parsing\NameParsingTests.cs (5)
659Assert.Equal((int)ErrorCode.ERR_TypeExpected, arg.Errors()[0].Code); 685Assert.Equal((int)ErrorCode.ERR_TypeExpected, arg.Errors()[0].Code); 712Assert.Equal((int)ErrorCode.ERR_TypeExpected, arg.Errors()[0].Code); 743Assert.Equal((int)ErrorCode.ERR_TypeExpected, arg.Errors()[0].Code); 768Assert.Equal((int)ErrorCode.ERR_TypeExpected, arg.Errors()[0].Code);
Parsing\ParserErrorMessageTests.cs (6)
1451Diagnostic(ErrorCode.ERR_TypeExpected, ","), 1484Diagnostic(ErrorCode.ERR_TypeExpected, ")"), 4088Diagnostic(ErrorCode.ERR_TypeExpected, "throw"), 4652ParseAndValidateFirst(test, Diagnostic(ErrorCode.ERR_TypeExpected, "operator")); 5367Diagnostic(ErrorCode.ERR_TypeExpected, "in"), 5409Diagnostic(ErrorCode.ERR_TypeExpected, ","),
Parsing\ParsingErrorRecoveryTests.cs (32)
863Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[0].Code); 896Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[0].Code); 929Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[0].Code); 958Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[0].Code); 988Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[0].Code); 1015Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[0].Code); 1056Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[0].Code); 1083Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[0].Code); 1126Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[2].Code); 1141Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[1].Code); 1155Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[0].Code); 1169Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[0].Code); 1185Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[2].Code); 1200Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[1].Code); 1214Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[0].Code); 1228Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[0].Code); 1244Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[2].Code); 1260Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[1].Code); 1275Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[0].Code); 1304Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[0].Code); 1757Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[0].Code); 1846Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[0].Code); 1924Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[0].Code); 2106Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[0].Code); 2211Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[0].Code); 2312Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[0].Code); 2349Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[0].Code); 2460Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[0].Code); 2478Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[0].Code); 2596Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[0].Code); 2656Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[0].Code); 7359Assert.Equal((int)ErrorCode.ERR_TypeExpected, file.Errors()[0].Code); //expecting a type (argument)
Parsing\PartialEventsAndConstructorsParsingTests.cs (3)
292Diagnostic(ErrorCode.ERR_TypeExpected, "partial").WithLocation(1, 7), 448Diagnostic(ErrorCode.ERR_TypeExpected, "").WithLocation(1, 14), 566Diagnostic(ErrorCode.ERR_TypeExpected, "partial").WithLocation(1, 7),
Parsing\RecordParsing.cs (4)
780Diagnostic(ErrorCode.ERR_TypeExpected, "{").WithLocation(1, 32) 850Diagnostic(ErrorCode.ERR_TypeExpected, "{").WithLocation(1, 30) 955Diagnostic(ErrorCode.ERR_TypeExpected, ";").WithLocation(1, 30) 4171Diagnostic(ErrorCode.ERR_TypeExpected, "").WithLocation(3, 6),
Parsing\RefFieldParsingTests.cs (2)
553Diagnostic(ErrorCode.ERR_TypeExpected, "fixed").WithLocation(1, 17), 556Diagnostic(ErrorCode.ERR_TypeExpected, "fixed").WithLocation(1, 47));
Parsing\RefReadonlyTests.cs (2)
157Diagnostic(ErrorCode.ERR_TypeExpected, "virtual").WithLocation(22, 25), 459Diagnostic(ErrorCode.ERR_TypeExpected, "[").WithLocation(1, 8));
Parsing\RefStructs.cs (6)
85Diagnostic(ErrorCode.ERR_TypeExpected, "class"), 88Diagnostic(ErrorCode.ERR_TypeExpected, "unsafe"), 91Diagnostic(ErrorCode.ERR_TypeExpected, "interface").WithLocation(8, 9), 94Diagnostic(ErrorCode.ERR_TypeExpected, "delegate").WithLocation(10, 16), 172Diagnostic(ErrorCode.ERR_TypeExpected, "struct").WithLocation(4, 26), 178Diagnostic(ErrorCode.ERR_TypeExpected, "struct").WithLocation(5, 26),
Parsing\ScriptParsingTests.cs (3)
3308Diagnostic(ErrorCode.ERR_TypeExpected, "").WithLocation(1, 14), 3754Diagnostic(ErrorCode.ERR_TypeExpected, "").WithLocation(1, 13), 4007Diagnostic(ErrorCode.ERR_TypeExpected, "").WithLocation(1, 13),
Parsing\SeparatedSyntaxListParsingTests.cs (4)
48Diagnostic(ErrorCode.ERR_TypeExpected, ">").WithLocation(9, 9), 51Diagnostic(ErrorCode.ERR_TypeExpected, ",").WithLocation(10, 7), 57Diagnostic(ErrorCode.ERR_TypeExpected, ",").WithLocation(11, 11), 60Diagnostic(ErrorCode.ERR_TypeExpected, ">").WithLocation(11, 12));
Parsing\StatementAttributeParsingTests.cs (2)
1989Diagnostic(ErrorCode.ERR_TypeExpected, "[").WithLocation(6, 16), 2067Diagnostic(ErrorCode.ERR_TypeExpected, "[").WithLocation(6, 16),
Parsing\TopLevelStatementsParsingTests.cs (7)
1920Diagnostic(ErrorCode.ERR_TypeExpected, ";").WithLocation(1, 15), 1964Diagnostic(ErrorCode.ERR_TypeExpected, ";").WithLocation(1, 12), 2008Diagnostic(ErrorCode.ERR_TypeExpected, ";").WithLocation(1, 10), 2055Diagnostic(ErrorCode.ERR_TypeExpected, ";").WithLocation(1, 15), 2434Diagnostic(ErrorCode.ERR_TypeExpected, "'").WithLocation(1, 20), 3068Diagnostic(ErrorCode.ERR_TypeExpected, "struct").WithLocation(3, 12), 3555Diagnostic(ErrorCode.ERR_TypeExpected, "").WithLocation(1, 13),
Parsing\TypeArgumentListParsingTests.cs (18)
2842Diagnostic(ErrorCode.ERR_TypeExpected, ",").WithLocation(5, 32), 2845Diagnostic(ErrorCode.ERR_TypeExpected, ">").WithLocation(5, 33)); 2943Diagnostic(ErrorCode.ERR_TypeExpected, ",").WithLocation(5, 28), 2946Diagnostic(ErrorCode.ERR_TypeExpected, ">").WithLocation(5, 29)); 3044Diagnostic(ErrorCode.ERR_TypeExpected, ",").WithLocation(5, 25), 3047Diagnostic(ErrorCode.ERR_TypeExpected, ">").WithLocation(5, 29)); 3145Diagnostic(ErrorCode.ERR_TypeExpected, ",").WithLocation(5, 25), 3148Diagnostic(ErrorCode.ERR_TypeExpected, ",").WithLocation(5, 26)); 3246Diagnostic(ErrorCode.ERR_TypeExpected, ",").WithLocation(5, 30), 3249Diagnostic(ErrorCode.ERR_TypeExpected, ">").WithLocation(5, 31)); 3359Diagnostic(ErrorCode.ERR_TypeExpected, ",").WithLocation(5, 40), 3362Diagnostic(ErrorCode.ERR_TypeExpected, ">").WithLocation(5, 41)); 3478Diagnostic(ErrorCode.ERR_TypeExpected, ",").WithLocation(5, 32), 3481Diagnostic(ErrorCode.ERR_TypeExpected, ">").WithLocation(5, 33)); 3588Diagnostic(ErrorCode.ERR_TypeExpected, ",").WithLocation(5, 31), 3591Diagnostic(ErrorCode.ERR_TypeExpected, ">").WithLocation(5, 32), 3594Diagnostic(ErrorCode.ERR_TypeExpected, ",").WithLocation(5, 34), 3597Diagnostic(ErrorCode.ERR_TypeExpected, ">").WithLocation(5, 35));
Parsing\UsingDirectiveParsingTests.cs (4)
3955Diagnostic(ErrorCode.ERR_TypeExpected, "__arglist").WithLocation(2, 11)); 3960Diagnostic(ErrorCode.ERR_TypeExpected, "__arglist").WithLocation(2, 11)); 4000Diagnostic(ErrorCode.ERR_TypeExpected, "__makeref").WithLocation(2, 11)); 4005Diagnostic(ErrorCode.ERR_TypeExpected, "__makeref").WithLocation(2, 11));