public void add(int el) {if ( readonly ) throw new IllegalStateException("can't alter readonly IntervalSet");add(el,el);}
public virtual void Add(int el){if (@readonly){throw new InvalidOperationException("can't alter readonly IntervalSet");}Add(el, el);}