add test to confirm behavior of Control.SetVisibleCore, and remove some redundant...
[mcs.git] / tests / test-anon-35.cs
blob42b6783c7ef889c4732c9533dd580584b69deb8c
1 //
2 // This was a bug which was triggered because I removed a routine
3 // inadvertently. The routine was restored, and now the scopes
4 // are initialized
5 //
6 using System;
7 using System.Collections;
8 using System.Reflection;
10 public class CustomDict {
11 ArrayList data;
13 public CustomDict() {
14 foreach (object o in this)
15 Console.WriteLine (o);
18 public IEnumerator GetEnumerator() {
19 if (data != null)
20 yield return 1;
24 public class Tests
27 public static void Main () {
28 new CustomDict ();