Пример #1
0
 /// <summary>
 /// check whether the given span is intersects with the tree
 /// </summary>
 public static bool IntersectsWith(this SimpleIntervalTree <TextSpan> tree, TextSpan span)
 {
     return(tree.GetIntersectingIntervals(span.Start, span.Length).Any());
 }