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