19 references to ERR_OpenEndedComment
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (1)
1168or ErrorCode.ERR_OpenEndedComment
Parser\Lexer.cs (2)
2070this.AddError(ErrorCode.ERR_OpenEndedComment); 2837this.AddError(this.LexemeStartPosition, this.CurrentLexemeWidth, ErrorCode.ERR_OpenEndedComment);
Syntax\SyntaxFactory.cs (1)
2352case ErrorCode.ERR_OpenEndedComment:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\InterpolationTests.cs (1)
194Diagnostic(ErrorCode.ERR_OpenEndedComment, "").WithLocation(5, 71),
Semantics\RawInterpolationTests.cs (1)
190Diagnostic(ErrorCode.ERR_OpenEndedComment, "").WithLocation(5, 73),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (13)
LexicalAndXml\LexicalErrorTests.cs (9)
516ParserErrorMessageTests.ParseAndValidate(test, Diagnostic(ErrorCode.ERR_OpenEndedComment, "")); 540Diagnostic(ErrorCode.ERR_OpenEndedComment, "").WithLocation(10, 1)); 563Diagnostic(ErrorCode.ERR_OpenEndedComment, "").WithLocation(5, 20), 1230Diagnostic(ErrorCode.ERR_OpenEndedComment, "").WithLocation(6, 24), 1249Diagnostic(ErrorCode.ERR_OpenEndedComment, "").WithLocation(6, 24), 1268Diagnostic(ErrorCode.ERR_OpenEndedComment, "").WithLocation(6, 24), 1303Diagnostic(ErrorCode.ERR_OpenEndedComment, "").WithLocation(6, 24), 1322Diagnostic(ErrorCode.ERR_OpenEndedComment, "").WithLocation(6, 24), 1341Diagnostic(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));