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