16 references to ERR_UnterminatedStringLit
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (1)
1171
or ErrorCode.
ERR_UnterminatedStringLit
Parser\Lexer_StringLiteral.cs (2)
233
this.AddError(ErrorCode.
ERR_UnterminatedStringLit
);
539
width: 1, ErrorCode.
ERR_UnterminatedStringLit
));
Syntax\SyntaxFactory.cs (1)
2412
case ErrorCode.
ERR_UnterminatedStringLit
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\InterpolationTests.cs (4)
137
Diagnostic(ErrorCode.
ERR_UnterminatedStringLit
, "}").WithLocation(6, 5),
164
Diagnostic(ErrorCode.
ERR_UnterminatedStringLit
, "}").WithLocation(6, 5),
367
Diagnostic(ErrorCode.
ERR_UnterminatedStringLit
, "}").WithLocation(7, 5),
392
Diagnostic(ErrorCode.
ERR_UnterminatedStringLit
, ";").WithLocation(5, 19),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (8)
LexicalAndXml\LexicalErrorTests.cs (1)
638
Diagnostic(ErrorCode.
ERR_UnterminatedStringLit
, ""),
LexicalAndXml\LexicalTests.cs (1)
1076
Assert.Equal((int)ErrorCode.
ERR_UnterminatedStringLit
, errors[0].Code);
Parsing\CollectionExpressionParsingTests.cs (4)
17619
Diagnostic(ErrorCode.
ERR_UnterminatedStringLit
, "o").WithLocation(3, 35),
17640
Diagnostic(ErrorCode.
ERR_UnterminatedStringLit
, "o").WithLocation(6, 35),
17862
Diagnostic(ErrorCode.
ERR_UnterminatedStringLit
, "o").WithLocation(3, 40),
17883
Diagnostic(ErrorCode.
ERR_UnterminatedStringLit
, "o").WithLocation(6, 40),
Parsing\RawInterpolatedStringLiteralParsingTests.cs (2)
1126
Diagnostic(ErrorCode.
ERR_UnterminatedStringLit
, "").WithLocation(6, 17),
1213
Diagnostic(ErrorCode.
ERR_UnterminatedStringLit
, "").WithLocation(6, 17),