6 references to ERR_EmptyCharConst
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1084case 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)
158ParserErrorMessageTests.ParseAndValidate(test, Diagnostic(ErrorCode.ERR_EmptyCharConst, ""));
LexicalAndXml\LexicalTests.cs (2)
1086Assert.Equal((int)ErrorCode.ERR_EmptyCharConst, errors[0].Code); 1137Assert.Equal((int)ErrorCode.ERR_EmptyCharConst, errors[1].Code);
Parsing\TopLevelStatementsParsingTests.cs (1)
2443Diagnostic(ErrorCode.ERR_EmptyCharConst, "").WithLocation(1, 20),