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