public static IValueSet OfRanges(Range first, params Range[] rest) { return(SortedRangeSet.CopyOf(first.Type, rest)); }
public static IValueSet CopyOfRanges(IType type, IEnumerable <Range> ranges) { return(SortedRangeSet.CopyOf(type, ranges)); }
public static IValueSet CopyOf(IType type, IEnumerable <object> values) { return(SortedRangeSet.CopyOf(type, values.Select(x => Range.Equal(type, x)))); }