eol
[mcs.git] / tests / gtest-iter-12.cs
blob8b01949507dd25452e12ba54b7184d9397089ab7
1 using System;
2 using System.Collections.Generic;
4 public class H
6 public static void Main(String[] args) { }
8 public static IEnumerable<T> Merge<T> (IEnumerator<T> xEtor)
9 where T : IComparable<T>
11 int order = xEtor.Current.CompareTo (xEtor.Current);
12 yield return xEtor.Current;