public void Reset()
 {
     // Create a new enumerator, since _enumerator.Reset() will fail for cases where the list was mutated
     // after enumeration started, and ImmutableSegmentList<T>.Builder allows for this case without error.
     _enumerator = _list.GetEnumerator();
 }
 internal ValueBuilder(ImmutableSegmentedList <T> list)
 {
     _list        = list;
     _mutableList = null;
 }
 internal Enumerator(SegmentedList <T> list)
 {
     _list       = list;
     _enumerator = list.GetEnumerator();
 }