43 references to ERR_ValueExpected
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (1)
833case ErrorCode.ERR_ValueExpected:
Parser\LanguageParser.cs (3)
5053close = this.AddError(close, ErrorCode.ERR_ValueExpected); 7076list[i] = this.AddError(this.CreateMissingIdentifierName(), offset, width, ErrorCode.ERR_ValueExpected); 11179expression = this.ParseIdentifierName(ErrorCode.ERR_ValueExpected);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\FixedSizeBufferTests.cs (1)
871Diagnostic(ErrorCode.ERR_ValueExpected, "const").WithLocation(8, 18),
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (8)
IOperation\IOperationTests_IArrayElementReferenceExpression.cs (6)
560Diagnostic(ErrorCode.ERR_ValueExpected, "]").WithLocation(6, 32) 653Diagnostic(ErrorCode.ERR_ValueExpected, "]").WithLocation(6, 35) 746Diagnostic(ErrorCode.ERR_ValueExpected, "]").WithLocation(6, 34) 850Diagnostic(ErrorCode.ERR_ValueExpected, "]").WithLocation(6, 35), 853Diagnostic(ErrorCode.ERR_ValueExpected, "]").WithLocation(6, 37), 856Diagnostic(ErrorCode.ERR_ValueExpected, "]").WithLocation(6, 39)
IOperation\IOperationTests_IObjectCreationExpression.cs (1)
11511Diagnostic(ErrorCode.ERR_ValueExpected, "]").WithLocation(6, 33)
IOperation\IOperationTests_IVariableDeclaration.cs (1)
825Diagnostic(ErrorCode.ERR_ValueExpected, "").WithLocation(7, 23),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\SemanticErrorTests.cs (2)
1027Diagnostic(ErrorCode.ERR_ValueExpected, "")); 1045Diagnostic(ErrorCode.ERR_ValueExpected, ""));
Semantics\UnsafeTests.cs (1)
5132Diagnostic(ErrorCode.ERR_ValueExpected, "]"));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Symbols\IndexerTests.cs (2)
1004Diagnostic(ErrorCode.ERR_ValueExpected, "]")); 1039Diagnostic(ErrorCode.ERR_ValueExpected, "]"));
Symbols\SymbolErrorTests.cs (1)
15448Diagnostic(ErrorCode.ERR_ValueExpected, "]"));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (24)
Parsing\DeclarationScopeParsingTests.cs (2)
14164Diagnostic(ErrorCode.ERR_ValueExpected, "").WithLocation(4, 27), 14277Diagnostic(ErrorCode.ERR_ValueExpected, "").WithLocation(4, 31),
Parsing\DeconstructionTests.cs (1)
3136Diagnostic(ErrorCode.ERR_ValueExpected, "]").WithLocation(1, 5)
Parsing\ExpressionParsingTests.cs (2)
6091Diagnostic(ErrorCode.ERR_ValueExpected, "]").WithLocation(1, 13)); 6470Diagnostic(ErrorCode.ERR_ValueExpected, "]").WithLocation(1, 13));
Parsing\LambdaParameterParsingTests.cs (1)
1892Diagnostic(ErrorCode.ERR_ValueExpected, "]").WithLocation(1, 34),
Parsing\LambdaReturnTypeParsingTests.cs (1)
1117Diagnostic(ErrorCode.ERR_ValueExpected, "]").WithLocation(1, 3));
Parsing\NullableParsingTests.cs (1)
144Diagnostic(ErrorCode.ERR_ValueExpected, "]").WithLocation(1, 9),
Parsing\ParserErrorMessageTests.cs (8)
275Diagnostic(ErrorCode.ERR_ValueExpected, "").WithLocation(6, 33), 550Diagnostic(ErrorCode.ERR_ValueExpected, "]").WithLocation(7, 21), 732Diagnostic(ErrorCode.ERR_ValueExpected, ",").WithLocation(11, 11), 768Diagnostic(ErrorCode.ERR_ValueExpected, "").WithLocation(18, 14), 834ParseAndValidate(test, Diagnostic(ErrorCode.ERR_ValueExpected, "]")); 856Diagnostic(ErrorCode.ERR_ValueExpected, ","), 859Diagnostic(ErrorCode.ERR_ValueExpected, "]")); 5216ParseAndValidate(test, Diagnostic(ErrorCode.ERR_FixedDimsRequired, "ia"), Diagnostic(ErrorCode.ERR_ValueExpected, "]"));
Parsing\ParsingErrorRecoveryTests.cs (2)
2714Assert.Equal((int)ErrorCode.ERR_ValueExpected, file.Errors()[1].Code); 2748Assert.Equal(ErrorCode.ERR_ValueExpected, (ErrorCode)file.Errors()[2].Code); //expected value after (missing) comma
Parsing\RecordParsing.cs (1)
3852Diagnostic(ErrorCode.ERR_ValueExpected, "struct").WithLocation(1, 14),
Parsing\SeparatedSyntaxListParsingTests.cs (4)
785Diagnostic(ErrorCode.ERR_ValueExpected, "").WithLocation(9, 27), 788Diagnostic(ErrorCode.ERR_ValueExpected, "").WithLocation(10, 25), 794Diagnostic(ErrorCode.ERR_ValueExpected, "").WithLocation(11, 30), 797Diagnostic(ErrorCode.ERR_ValueExpected, "").WithLocation(11, 31));
Parsing\TopLevelStatementsParsingTests.cs (1)
2419Diagnostic(ErrorCode.ERR_ValueExpected, "").WithLocation(1, 15),