/// <summary> /// Determines if the location falls inside a commented span. /// </summary> public bool IsLocationCommented(int location) => IntersectingBlockComments.Contains(span => span.Contains(location));
/// <summary> /// Returns if the selection intersects with any block comments. /// </summary> public bool HasIntersectingBlockComments() => IntersectingBlockComments.Any();
/// <summary> /// Returns if the selection intersects with any block comments. /// </summary> public bool HasIntersectingBlockComments() { return(IntersectingBlockComments.Any()); }