30 references to ERR_IllegalAtSequence
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (1)
2254or ErrorCode.ERR_IllegalAtSequence
Parser\Lexer.cs (1)
1632this.AddError(start, atCount, ErrorCode.ERR_IllegalAtSequence);
Parser\Lexer_StringLiteral.cs (2)
205this.AddError(start, width: TextWindow.Position - start, ErrorCode.ERR_IllegalAtSequence); 475TrySetError(_lexer.MakeError(start, window.Position - start, ErrorCode.ERR_IllegalAtSequence));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (26)
LexicalAndXml\LexicalTests.cs (2)
1712Assert.Equal(ErrorCode.ERR_IllegalAtSequence, (ErrorCode)errors[0].Code); 1728Assert.Equal(ErrorCode.ERR_IllegalAtSequence, (ErrorCode)errors[0].Code);
Parsing\RawInterpolatedStringLiteralParsingTests.cs (24)
1123Diagnostic(ErrorCode.ERR_IllegalAtSequence, "@@").WithLocation(6, 17), 1153Diagnostic(ErrorCode.ERR_IllegalAtSequence, "@@").WithLocation(6, 17)); 1171Diagnostic(ErrorCode.ERR_IllegalAtSequence, "@@").WithLocation(6, 17)); 1210Diagnostic(ErrorCode.ERR_IllegalAtSequence, "@@@").WithLocation(6, 17), 1240Diagnostic(ErrorCode.ERR_IllegalAtSequence, "@@@").WithLocation(6, 17)); 1258Diagnostic(ErrorCode.ERR_IllegalAtSequence, "@@@").WithLocation(6, 17)); 1294Diagnostic(ErrorCode.ERR_IllegalAtSequence, @"$@@""").WithLocation(6, 17), 1315Diagnostic(ErrorCode.ERR_IllegalAtSequence, @"$@@""").WithLocation(6, 17)); 1333Diagnostic(ErrorCode.ERR_IllegalAtSequence, @"$@@""""""").WithLocation(6, 17)); 1369Diagnostic(ErrorCode.ERR_IllegalAtSequence, @"$@@@""").WithLocation(6, 17), 1390Diagnostic(ErrorCode.ERR_IllegalAtSequence, @"$@@@""").WithLocation(6, 17)); 1408Diagnostic(ErrorCode.ERR_IllegalAtSequence, @"$@@@""""""").WithLocation(6, 17)); 1444Diagnostic(ErrorCode.ERR_IllegalAtSequence, @"@@$""").WithLocation(6, 17), 1465Diagnostic(ErrorCode.ERR_IllegalAtSequence, @"@@$""").WithLocation(6, 17)); 1483Diagnostic(ErrorCode.ERR_IllegalAtSequence, @"@@$""""""").WithLocation(6, 17)); 1519Diagnostic(ErrorCode.ERR_IllegalAtSequence, @"@@$$""").WithLocation(6, 17), 1540Diagnostic(ErrorCode.ERR_IllegalAtSequence, @"@@$$""").WithLocation(6, 17)); 1558Diagnostic(ErrorCode.ERR_IllegalAtSequence, @"@@$$""""""").WithLocation(6, 17)); 1594Diagnostic(ErrorCode.ERR_IllegalAtSequence, @"@@$@""").WithLocation(6, 17), 1615Diagnostic(ErrorCode.ERR_IllegalAtSequence, @"@@$@""").WithLocation(6, 17)); 1633Diagnostic(ErrorCode.ERR_IllegalAtSequence, @"@@$@""""""").WithLocation(6, 17)); 1669Diagnostic(ErrorCode.ERR_IllegalAtSequence, @"@@$$@""").WithLocation(6, 17), 1690Diagnostic(ErrorCode.ERR_IllegalAtSequence, @"@@$$@""").WithLocation(6, 17)); 1708Diagnostic(ErrorCode.ERR_IllegalAtSequence, @"@@$$@""""""").WithLocation(6, 17));