Provides all preprocessor directive classes.
Import path
import semmle.code.csharp.Preprocessor
Imports
Element | Provides the Element class, the base class of all C# program elements.
|
Classes
BranchDirective | A branching preprocessor directive, such as IfDirective , ElifDirective , or ElseDirective .
|
ConditionalDirective | A preprocessor directive with a branching condition, such as IfDirective or ElifDirective .
|
DefaultLineDirective | A #line default directive.
|
DefineDirective | A #define directive.
|
ElifDirective | An #elif preprocessor directive.
|
ElseDirective | An #else preprocessor directive.
|
EndRegionDirective | An #endregion directive.
|
EndifDirective | An #endif preprocessor directive.
|
ErrorDirective | An #error directive.
|
HiddenLineDirective | A #line hidden directive.
|
IfDirective | An #if preprocessor directive.
|
LineDirective | A #line directive, such as #line default , #line hidden , or #line directive with line number.
|
NullableDirective | A #nullable directive.
|
NumericLineDirective | A numeric #line directive, such as #line 200 file .
|
PragmaChecksumDirective | A #pragma checksum directive.
|
PragmaWarningDirective | A #pragma warning directive.
|
PreprocessorDirective | A preprocessor directive, such as PragmaWarningDirective , PragmaChecksumDirective , DefineDirective , UndefineDirective , WarningDirective , ErrorDirective , NullableDirective , LineDirective , RegionDirective , EndRegionDirective , BranchDirective , or EndifDirective .
|
RegionDirective | A #region directive.
|
SpanLineDirective | A line span #line directive, such as #line (1, 1) - (3, 10) 5 file .
|
UndefineDirective | An #undef directive.
|
WarningDirective | A #warning directive.
|