164 references to ERR_ExpressionExpected
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1312case ErrorCode.ERR_ExpressionExpected:
Parser\LanguageParser.cs (1)
10775expr = this.AddError(expr, ErrorCode.ERR_ExpressionExpected);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
CodeGen\GotoTest.cs (2)
1068Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(3, 5)); 1074Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(3, 5));
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (2)
IOperation\IOperationTests_IInterpolatedStringOperation.cs (2)
138Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(8, 40) 1897Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(3, 32)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (8)
Semantics\BindingTests.cs (1)
710Diagnostic(ErrorCode.ERR_ExpressionExpected, ""),
Semantics\InterpolationTests.cs (3)
115Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(5, 73) 497Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(6, 32) 516Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(6, 33)
Semantics\RawInterpolationTests.cs (3)
111Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(5, 75)); 526Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(6, 34)); 544Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(6, 34));
Semantics\ScriptSemanticsTests.cs (1)
587Diagnostic(ErrorCode.ERR_ExpressionExpected, ""));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\CompilationAPITests.cs (1)
3180Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 7),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (149)
LexicalAndXml\LexicalErrorTests.cs (36)
686Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(6, 38)); 690Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(6, 38)); 694Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(6, 38)); 719Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(9, 1), 738Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(9, 1), 757Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(9, 1), 792Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(10, 1), 811Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(10, 1), 830Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(10, 1), 900Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(8, 29)); 904Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(8, 29)); 908Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(8, 29)); 968Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(7, 23)); 972Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(7, 23)); 976Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(7, 23)); 1042Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(9, 23)); 1046Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(9, 23)); 1050Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(9, 23)); 1143Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(7, 39)); 1147Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(7, 39)); 1151Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(7, 39)); 1195Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(9, 29)); 1199Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(9, 29)); 1203Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(9, 29)); 1275Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(10, 23)); 1279Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(10, 23)); 1283Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(10, 23)); 1354Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(7, 23)); 1358Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(7, 23)); 1362Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(7, 23)); 1382Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(7, 24)); 1386Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(7, 24)); 1390Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(7, 24)); 1410Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(7, 30)); 1414Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(7, 30)); 1418Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(7, 30));
Parsing\ExpressionParsingTests.cs (3)
41Assert.Equal((int)ErrorCode.ERR_ExpressionExpected, expr.Errors()[0].Code); 1601Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(2, 2), 5976Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 6));
Parsing\ImplicitObjectCreationParsingTests.cs (1)
313Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 20));
Parsing\LambdaParameterParsingTests.cs (4)
2891Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 18), 5076Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 7)); 5694Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 9)); 5739Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 9));
Parsing\LambdaReturnTypeParsingTests.cs (8)
824Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 25)); 1173Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 14)); 1368Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 14)); 1820Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 18)); 3602Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 5), 3691Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 9), 3871Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 11), 3922Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 11));
Parsing\NullableParsingTests.cs (3)
562Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 12)); 1378Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 17), 1384Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 17)
Parsing\ParserErrorMessageTests.cs (2)
5346Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(9, 36), 5352Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(9, 36),
Parsing\PatternParsingTests.cs (3)
1053Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 10) 2343Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 18), 6433Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 18)
Parsing\RawInterpolatedStringLiteralCompilingTests.cs (2)
570Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(4, 11)); 617Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(6, 5));
Parsing\ScriptParsingTests.cs (83)
4329Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 12), 4561Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 6)); 4602Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 6)); 4646Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 7)); 4698Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 7)); 4744Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 7), 4750Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 7)); 4799Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 8)); 4848Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 9)); 4898Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 11)); 4956Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 10)); 5014Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 11)); 5075Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 12)); 5144Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 7)); 5196Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 9)); 5256Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 8)); 5309Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 9), 5318Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 9)); 5379Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 9), 5388Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 9)); 5449Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 9), 5455Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 9), 5464Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 9)); 5533Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 11), 5542Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 11)); 5608Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 13), 5614Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 13), 5623Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 13)); 5697Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 17), 5703Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 17), 5709Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 17), 5718Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 17)); 5808Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 8)); 5857Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 9)); 6021Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 11)); 6085Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 26)); 6328Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 8), 6334Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 8), 6340Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 8)); 6391Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 8), 6397Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 8)); 6446Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 10)); 6492Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 13)); 6544Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 12)); 6604Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 12)); 6664Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 14), 6673Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 14)); 6748Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 16)); 6817Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 11)); 6879Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 12)); 6940Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 12), 6949Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 12)); 7019Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 12)); 7089Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 13)); 7159Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 12)); 7229Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 9)); 7299Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 10)); 7373Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 11)); 7441Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 14), 7447Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 14), 7456Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 14)); 7533Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 9)); 7589Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 24)); 7651Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 13), 7660Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 13)); 7725Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 8), 7734Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 8)); 7798Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 23)); 7899Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(2, 17)); 7968Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 22)); 8081Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(2, 9)); 8127Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(2, 11), 8136Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(2, 11)); 8206Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(2, 11)); 8270Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(2, 13), 8282Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(2, 13)); 8478Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 9), 8822Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 9), 8877Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 10), 8937Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 10), 8997Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 11), 9062Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 12), 9113Diagnostic(ErrorCode.ERR_ExpressionExpected, "").WithLocation(1, 16),
Parsing\SuppressNullableWarningExpressionParsingTests.cs (4)
379Diagnostic(ErrorCode.ERR_ExpressionExpected, "", isSuppressed: false).WithLocation(1, 20)); 453Diagnostic(ErrorCode.ERR_ExpressionExpected, "", isSuppressed: false).WithLocation(1, 21)); 534Diagnostic(ErrorCode.ERR_ExpressionExpected, "", isSuppressed: false).WithLocation(1, 20)); 605Diagnostic(ErrorCode.ERR_ExpressionExpected, "", isSuppressed: false).WithLocation(1, 19));