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