7 references to ERR_InvalidPreprocExpr
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1153
case ErrorCode.
ERR_InvalidPreprocExpr
:
Parser\DirectiveParser.cs (1)
810
return SyntaxFactory.IdentifierName(this.EatToken(SyntaxKind.IdentifierToken, ErrorCode.
ERR_InvalidPreprocExpr
));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
LexicalAndXml\PreprocessorTests.cs (3)
1520
VerifyErrorCode(node, (int)ErrorCode.
ERR_InvalidPreprocExpr
);
1809
VerifyErrorCode(node, (int)ErrorCode.
ERR_InvalidPreprocExpr
, (int)ErrorCode.
ERR_InvalidPreprocExpr
);
Parsing\ParserErrorMessageTests.cs (2)
4004
Diagnostic(ErrorCode.
ERR_InvalidPreprocExpr
, "1"),
4010
Diagnostic(ErrorCode.
ERR_InvalidPreprocExpr
, "0"),