1 // Test case for Bug #75934
2 // Checks for duplicate field names
5 using System.Collections;
6 using System.Reflection;
10 public IEnumerable testen (int x)
12 for (int i = 0;i < x; i++)
25 public static void Main (string [] args)
27 Hashtable ht = new Hashtable ();
28 Assembly asm = Assembly.GetAssembly (typeof (test));
29 foreach (Type t in asm.GetTypes ()) {
31 foreach (FieldInfo fi in t.GetFields (BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance))