13 references to WRN_IllegalPPWarning
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
360
case ErrorCode.
WRN_IllegalPPWarning
:
1298
or ErrorCode.
WRN_IllegalPPWarning
Generated\ErrorFacts.Generated.cs (1)
89
case ErrorCode.
WRN_IllegalPPWarning
:
Parser\DirectiveParser.cs (1)
634
style = this.EatToken(SyntaxKind.DisableKeyword, ErrorCode.
WRN_IllegalPPWarning
, reportError: isActive);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (9)
Diagnostics\DiagnosticTest.cs (4)
1593
Diagnostic(ErrorCode.
WRN_IllegalPPWarning
, ""),
1610
Diagnostic(ErrorCode.
WRN_IllegalPPWarning
, ""),
1625
Diagnostic(ErrorCode.
WRN_IllegalPPWarning
, ""));
2113
Diagnostic(ErrorCode.
WRN_IllegalPPWarning
, "blah").WithLocation(14, 17));
LexicalAndXml\DisabledRegionTests.cs (1)
96
Diagnostic(ErrorCode.
WRN_IllegalPPWarning
, ""),
LexicalAndXml\PreprocessorTests.cs (4)
3689
VerifyErrorCode(node, (int)ErrorCode.
WRN_IllegalPPWarning
); // CS1634
4003
VerifyErrorSpecial(node, new DirectiveInfo { Number = (int)ErrorCode.
WRN_IllegalPPWarning
, Status = NodeStatus.IsWarning }); // CS1634
4019
VerifyErrorSpecial(node, new DirectiveInfo { Number = (int)ErrorCode.
WRN_IllegalPPWarning
, Status = NodeStatus.IsWarning }); // CS1634
4035
VerifyErrorSpecial(node, new DirectiveInfo { Number = (int)ErrorCode.
WRN_IllegalPPWarning
, Status = NodeStatus.IsWarning }); // CS1634