[System.Data] Try to fix random DataViewTest.DefaultColumnNameAddListChangedTest...
[mono-project.git] / mcs / tests / gtest-201.cs
blob01d46339f3cba212ea8c8240f0dddf8d90ba52c2
1 using System;
2 using MSG = System.Collections.Generic;
4 public class HashSet<T>
6 long value;
8 public HashSet (long value)
10 this.value = value;
13 public long Test ()
15 return value;
18 public MSG.IEnumerator<long> GetEnumerator()
20 yield return Test ();
24 class X
26 public static int Main ()
28 HashSet<int> hb = new HashSet<int> (12345678);
30 foreach (long value in hb) {
31 if (value != 12345678)
32 return 1;
35 return 0;