add test to confirm behavior of Control.SetVisibleCore, and remove some redundant...
[mcs.git] / tests / gtest-201.cs
blob5c4f2ae7a4166f7806223759f8ac3d6bfa0b1ea5
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 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;