CSharpFacts.IsIfElseDirective(SyntaxKind) Method
Containing Type: CSharpFacts
Assembly: Roslynator.CSharp.dll
Returns true if a syntax of the specified kind is #if, #else, #elif or #endif directive.
public static bool IsIfElseDirective(Microsoft.CodeAnalysis.CSharp.SyntaxKind kind)
Parameters
kind SyntaxKind