19 references to ERR_OpenEndedComment
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (1)
1170
or ErrorCode.
ERR_OpenEndedComment
Parser\Lexer.cs (2)
2051
this.AddError(ErrorCode.
ERR_OpenEndedComment
);
2816
this.AddError(this.LexemeStartPosition, this.CurrentLexemeWidth, ErrorCode.
ERR_OpenEndedComment
);
Syntax\SyntaxFactory.cs (1)
2380
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)
189
Diagnostic(ErrorCode.
ERR_OpenEndedComment
, "").WithLocation(5, 73),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (13)
LexicalAndXml\LexicalErrorTests.cs (9)
562
ParserErrorMessageTests.ParseAndValidate(test, Diagnostic(ErrorCode.
ERR_OpenEndedComment
, ""));
586
Diagnostic(ErrorCode.
ERR_OpenEndedComment
, "").WithLocation(10, 1));
609
Diagnostic(ErrorCode.
ERR_OpenEndedComment
, "").WithLocation(5, 20),
1276
Diagnostic(ErrorCode.
ERR_OpenEndedComment
, "").WithLocation(6, 24),
1295
Diagnostic(ErrorCode.
ERR_OpenEndedComment
, "").WithLocation(6, 24),
1314
Diagnostic(ErrorCode.
ERR_OpenEndedComment
, "").WithLocation(6, 24),
1349
Diagnostic(ErrorCode.
ERR_OpenEndedComment
, "").WithLocation(6, 24),
1368
Diagnostic(ErrorCode.
ERR_OpenEndedComment
, "").WithLocation(6, 24),
1387
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));