10 references to WRN_IllegalPragma
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (2)
346case ErrorCode.WRN_IllegalPragma: 1236case ErrorCode.WRN_IllegalPragma:
Generated\ErrorFacts.Generated.cs (1)
88case ErrorCode.WRN_IllegalPragma:
Parser\DirectiveParser.cs (1)
674var warning = this.EatToken(SyntaxKind.WarningKeyword, ErrorCode.WRN_IllegalPragma, reportError: isActive);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (6)
Diagnostics\DiagnosticTest.cs (3)
1438Diagnostic(ErrorCode.WRN_IllegalPragma, ""), 1455Diagnostic(ErrorCode.WRN_IllegalPragma, ""), 1484Diagnostic(ErrorCode.WRN_IllegalPragma, ""));
LexicalAndXml\DisabledRegionTests.cs (1)
95Diagnostic(ErrorCode.WRN_IllegalPragma, ""),
LexicalAndXml\PreprocessorTests.cs (2)
4096VerifyErrorCode(node, (int)ErrorCode.WRN_IllegalPragma); // CS1633 4112VerifyErrorCode(node, (int)ErrorCode.WRN_IllegalPragma);