SyntaxExtensions.SpanContainsDirectives(SyntaxNode) Method
Containing Type: SyntaxExtensions
Assembly: Roslynator.Core.dll
Returns true if the node's span contains any preprocessor directives.
public static bool SpanContainsDirectives(this Microsoft.CodeAnalysis.SyntaxNode node)
Parameters
node SyntaxNode