SyntaxExtensions.ContainsDirectives(SyntaxNode, TextSpan) Method
Containing Type: SyntaxExtensions
Assembly: Roslynator.Core.dll
Returns true if the node contains any preprocessor directives inside the specified span.
public static bool ContainsDirectives(this Microsoft.CodeAnalysis.SyntaxNode node, Microsoft.CodeAnalysis.Text.TextSpan span)
Parameters
node SyntaxNode
span TextSpan