Exemple #1
0
 public static IImmutableEnumerator <T> ToImmutableEnumerator <T>(this IEnumerator <T> e)
 => ImmutableEnumerator <T> .Make(e);
Exemple #2
0
 public ImmutableEnumeratorElement(U current, LazyList next, Last last)
 {
     this.current  = current;
     this.rest     = new ImmutableEnumerator <U>(next, last);
     this.hashCode = Equality.HashCode(current, rest);
 }