19 references to ERR_OpenEndedComment
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (1)
1170or ErrorCode.ERR_OpenEndedComment
Parser\Lexer.cs (2)
2051this.AddError(ErrorCode.ERR_OpenEndedComment); 2816this.AddError(this.LexemeStartPosition, this.CurrentLexemeWidth, ErrorCode.ERR_OpenEndedComment);
Syntax\SyntaxFactory.cs (1)
2380case ErrorCode.ERR_OpenEndedComment:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\InterpolationTests.cs (1)
194Diagnostic(ErrorCode.ERR_OpenEndedComment, "").WithLocation(5, 71),
Semantics\RawInterpolationTests.cs (1)
189Diagnostic(ErrorCode.ERR_OpenEndedComment, "").WithLocation(5, 73),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (13)
LexicalAndXml\LexicalErrorTests.cs (9)
562ParserErrorMessageTests.ParseAndValidate(test, Diagnostic(ErrorCode.ERR_OpenEndedComment, "")); 586Diagnostic(ErrorCode.ERR_OpenEndedComment, "").WithLocation(10, 1)); 609Diagnostic(ErrorCode.ERR_OpenEndedComment, "").WithLocation(5, 20), 1276Diagnostic(ErrorCode.ERR_OpenEndedComment, "").WithLocation(6, 24), 1295Diagnostic(ErrorCode.ERR_OpenEndedComment, "").WithLocation(6, 24), 1314Diagnostic(ErrorCode.ERR_OpenEndedComment, "").WithLocation(6, 24), 1349Diagnostic(ErrorCode.ERR_OpenEndedComment, "").WithLocation(6, 24), 1368Diagnostic(ErrorCode.ERR_OpenEndedComment, "").WithLocation(6, 24), 1387Diagnostic(ErrorCode.ERR_OpenEndedComment, "").WithLocation(6, 24),
LexicalAndXml\LexicalTests.cs (4)
345TestBase.Diagnostic(ErrorCode.ERR_OpenEndedComment).WithLocation(1, 1)); 367TestBase.Diagnostic(ErrorCode.ERR_OpenEndedComment).WithLocation(1, 1)); 389TestBase.Diagnostic(ErrorCode.ERR_OpenEndedComment).WithLocation(1, 1)); 409TestBase.Diagnostic(ErrorCode.ERR_OpenEndedComment).WithLocation(1, 1));