5 references to ERR_TooManyCharsInConst
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1147
or ErrorCode.
ERR_TooManyCharsInConst
Parser\Lexer_StringLiteral.cs (1)
80
this.AddError((_builder.Length != 0) ? ErrorCode.
ERR_TooManyCharsInConst
: ErrorCode.ERR_EmptyCharConst);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
LexicalAndXml\LexicalErrorTests.cs (1)
409
ParserErrorMessageTests.ParseAndValidate(test, Diagnostic(ErrorCode.
ERR_TooManyCharsInConst
, ""));
LexicalAndXml\LexicalTests.cs (2)
1519
Assert.Equal((int)ErrorCode.
ERR_TooManyCharsInConst
, errors[0].Code);
1571
Assert.Equal((int)ErrorCode.
ERR_TooManyCharsInConst
, errors[1].Code);