16 references to ERR_InvalidLineNumber
Microsoft.CodeAnalysis.CSharp (3)
Errors\ErrorFacts.cs (1)
1249
or ErrorCode.
ERR_InvalidLineNumber
Parser\DirectiveParser.cs (2)
383
line = this.EatToken(SyntaxKind.NumericLiteralToken, ErrorCode.
ERR_InvalidLineNumber
, reportError: isActive);
389
line = this.AddError(line, ErrorCode.
ERR_InvalidLineNumber
);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (13)
LexicalAndXml\DisabledRegionTests.cs (2)
62
Diagnostic(ErrorCode.
ERR_InvalidLineNumber
, ""),
63
Diagnostic(ErrorCode.
ERR_InvalidLineNumber
, "0"));
LexicalAndXml\LexicalErrorTests.cs (1)
469
Diagnostic(ErrorCode.
ERR_InvalidLineNumber
, "12345678901234567890"),
LexicalAndXml\PreprocessorTests.cs (7)
3431
VerifyErrorCode(node, (int)ErrorCode.
ERR_InvalidLineNumber
);
3442
VerifyErrorCode(node, (int)ErrorCode.
ERR_InvalidLineNumber
);
3453
VerifyErrorCode(node, (int)ErrorCode.
ERR_InvalidLineNumber
);
3475
VerifyErrorCode(node, (int)ErrorCode.
ERR_InvalidLineNumber
);
3485
VerifyErrorCode(node, (int)ErrorCode.
ERR_InvalidLineNumber
);
3495
VerifyErrorCode(node, (int)ErrorCode.
ERR_InvalidLineNumber
);
3592
VerifyErrorCode(node, (int)ErrorCode.
ERR_InvalidLineNumber
); // CS1021, CS1576 (not in parser) ErrorCode.ERR_InvalidLineNumber
Parsing\ParserErrorMessageTests.cs (3)
4805
Diagnostic(ErrorCode.
ERR_InvalidLineNumber
, "abc"),
4808
Diagnostic(ErrorCode.
ERR_InvalidLineNumber
, "0"));
4823
Diagnostic(ErrorCode.
ERR_InvalidLineNumber
, "0"),