46 references to ERR_ValueExpected
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (1)
895or ErrorCode.ERR_ValueExpected
Parser\LanguageParser.cs (3)
5475close = this.AddError(close, ErrorCode.ERR_ValueExpected); 7692list[i] = this.AddError(this.CreateMissingIdentifierName(), offset, width, ErrorCode.ERR_ValueExpected); 12234expression = 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.Emit3.UnitTests (1)
Semantics\InlineArrayTests.cs (1)
11547Diagnostic(ErrorCode.ERR_ValueExpected, "]").WithLocation(12, 17)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (8)
IOperation\IOperationTests_IArrayElementReferenceExpression.cs (6)
592Diagnostic(ErrorCode.ERR_ValueExpected, "]").WithLocation(6, 32) 685Diagnostic(ErrorCode.ERR_ValueExpected, "]").WithLocation(6, 35) 778Diagnostic(ErrorCode.ERR_ValueExpected, "]").WithLocation(6, 34) 882Diagnostic(ErrorCode.ERR_ValueExpected, "]").WithLocation(6, 35), 885Diagnostic(ErrorCode.ERR_ValueExpected, "]").WithLocation(6, 37), 888Diagnostic(ErrorCode.ERR_ValueExpected, "]").WithLocation(6, 39)
IOperation\IOperationTests_IObjectCreationExpression.cs (1)
11506Diagnostic(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)
1025Diagnostic(ErrorCode.ERR_ValueExpected, "")); 1043Diagnostic(ErrorCode.ERR_ValueExpected, ""));
Semantics\UnsafeTests.cs (1)
7970Diagnostic(ErrorCode.ERR_ValueExpected, "]"));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Symbols\IndexerTests.cs (2)
1006Diagnostic(ErrorCode.ERR_ValueExpected, "]")); 1041Diagnostic(ErrorCode.ERR_ValueExpected, "]"));
Symbols\PartialPropertiesTests.cs (1)
3533Diagnostic(ErrorCode.ERR_ValueExpected, "]").WithLocation(5, 18),
Symbols\SymbolErrorTests.cs (1)
15596Diagnostic(ErrorCode.ERR_ValueExpected, "]"));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (25)
Parsing\CollectionExpressionParsingTests.cs (1)
13867Diagnostic(ErrorCode.ERR_ValueExpected, "]").WithLocation(1, 23),
Parsing\DeclarationScopeParsingTests.cs (2)
13765Diagnostic(ErrorCode.ERR_ValueExpected, "").WithLocation(4, 27), 13878Diagnostic(ErrorCode.ERR_ValueExpected, "").WithLocation(4, 31),
Parsing\DeconstructionTests.cs (1)
3136Diagnostic(ErrorCode.ERR_ValueExpected, "]").WithLocation(1, 5)
Parsing\ExpressionParsingTests.cs (1)
6501Diagnostic(ErrorCode.ERR_ValueExpected, "]").WithLocation(1, 13));
Parsing\LambdaParameterParsingTests.cs (1)
1975Diagnostic(ErrorCode.ERR_ValueExpected, "]").WithLocation(1, 34),
Parsing\LambdaReturnTypeParsingTests.cs (1)
1117Diagnostic(ErrorCode.ERR_ValueExpected, "]").WithLocation(1, 3));
Parsing\NullableParsingTests.cs (2)
144Diagnostic(ErrorCode.ERR_ValueExpected, "]").WithLocation(1, 9), 2221Diagnostic(ErrorCode.ERR_ValueExpected, "]").WithLocation(1, 17),
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, "]")); 5055ParseAndValidate(test, Diagnostic(ErrorCode.ERR_FixedDimsRequired, "ia"), Diagnostic(ErrorCode.ERR_ValueExpected, "]"));
Parsing\ParsingErrorRecoveryTests.cs (2)
2876Assert.Equal((int)ErrorCode.ERR_ValueExpected, file.Errors()[1].Code); 2910Assert.Equal(ErrorCode.ERR_ValueExpected, (ErrorCode)file.Errors()[2].Code); //expected value after (missing) comma
Parsing\RecordParsing.cs (1)
4002Diagnostic(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)
2422Diagnostic(ErrorCode.ERR_ValueExpected, "").WithLocation(1, 15),