29 references to ERR_UnterminatedRawString
Microsoft.CodeAnalysis.CSharp (6)
Errors\ErrorFacts.cs (1)
2243
or ErrorCode.
ERR_UnterminatedRawString
Parser\Lexer_RawStringLiteral.cs (3)
137
this.AddError(TextWindow.Position, width: TextWindow.GetNewLineWidth(), ErrorCode.
ERR_UnterminatedRawString
);
142
this.AddError(TextWindow.Position, width: 0, ErrorCode.
ERR_UnterminatedRawString
);
285
this.AddError(TextWindow.Position, width: 0, ErrorCode.
ERR_UnterminatedRawString
);
Parser\Lexer_StringLiteral.cs (2)
562
width: 1, ErrorCode.
ERR_UnterminatedRawString
));
596
_lexer.TextWindow.Position - 1, width: 1, ErrorCode.
ERR_UnterminatedRawString
));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\RawInterpolationTests.cs (6)
129
Diagnostic(ErrorCode.
ERR_UnterminatedRawString
, @"
133
Diagnostic(ErrorCode.
ERR_UnterminatedRawString
, "}").WithLocation(6, 5),
160
Diagnostic(ErrorCode.
ERR_UnterminatedRawString
, "}").WithLocation(6, 5),
414
Diagnostic(ErrorCode.
ERR_UnterminatedRawString
, @"
418
Diagnostic(ErrorCode.
ERR_UnterminatedRawString
, "}").WithLocation(7, 5),
443
Diagnostic(ErrorCode.
ERR_UnterminatedRawString
, ";").WithLocation(5, 21),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (17)
LexicalAndXml\RawStringLiteralLexingTests.cs (1)
167
if (!markup.Contains("CS" + (int)ErrorCode.
ERR_UnterminatedRawString
))
Parsing\RawInterpolatedStringLiteralCompilingTests.cs (16)
493
Diagnostic(ErrorCode.
ERR_UnterminatedRawString
, "l").WithLocation(3, 11),
502
Diagnostic(ErrorCode.
ERR_UnterminatedRawString
, "").WithLocation(5, 10),
521
Diagnostic(ErrorCode.
ERR_UnterminatedRawString
, "l").WithLocation(3, 20),
530
Diagnostic(ErrorCode.
ERR_UnterminatedRawString
, "").WithLocation(5, 10),
598
Diagnostic(ErrorCode.
ERR_UnterminatedRawString
, "/").WithLocation(4, 15));
797
Diagnostic(ErrorCode.
ERR_UnterminatedRawString
, ";").WithLocation(3, 10),
815
Diagnostic(ErrorCode.
ERR_UnterminatedRawString
, ";").WithLocation(4, 7),
833
Diagnostic(ErrorCode.
ERR_UnterminatedRawString
, ";").WithLocation(4, 8),
873
Diagnostic(ErrorCode.
ERR_UnterminatedRawString
, ";").WithLocation(4, 7),
891
Diagnostic(ErrorCode.
ERR_UnterminatedRawString
, ";").WithLocation(4, 8),
931
Diagnostic(ErrorCode.
ERR_UnterminatedRawString
, ";").WithLocation(4, 7),
949
Diagnostic(ErrorCode.
ERR_UnterminatedRawString
, ";").WithLocation(4, 8),
989
Diagnostic(ErrorCode.
ERR_UnterminatedRawString
, ";").WithLocation(4, 8),
1007
Diagnostic(ErrorCode.
ERR_UnterminatedRawString
, ";").WithLocation(4, 9),
1025
Diagnostic(ErrorCode.
ERR_UnterminatedRawString
, ";").WithLocation(4, 9),
1043
Diagnostic(ErrorCode.
ERR_UnterminatedRawString
, ";").WithLocation(4, 10),