6 references to ERR_EmptyCharConst
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1146
or ErrorCode.
ERR_EmptyCharConst
Parser\Lexer_StringLiteral.cs (1)
80
this.AddError((_builder.Length != 0) ? ErrorCode.ERR_TooManyCharsInConst : ErrorCode.
ERR_EmptyCharConst
);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
LexicalAndXml\LexicalErrorTests.cs (1)
390
ParserErrorMessageTests.ParseAndValidate(test, Diagnostic(ErrorCode.
ERR_EmptyCharConst
, ""));
LexicalAndXml\LexicalTests.cs (2)
1502
Assert.Equal((int)ErrorCode.
ERR_EmptyCharConst
, errors[0].Code);
1553
Assert.Equal((int)ErrorCode.
ERR_EmptyCharConst
, errors[1].Code);
Parsing\TopLevelStatementsParsingTests.cs (1)
2446
Diagnostic(ErrorCode.
ERR_EmptyCharConst
, "").WithLocation(1, 20),