cosmetic
[mcs.git] / tests / gtest-196.cs
blob1d31ae384ac5f394fe6ee360a611ea603882a59f
1 using System;
2 using System.Threading;
3 using System.Collections;
4 using System.Collections.Generic;
6 public class Dict : Dictionary <object, object>
10 public class Foo
12 public static int Main ()
14 IDictionary<object, object> dict = new Dict ();
16 dict.Add (new Object (), new Object ());
17 foreach (object kv in dict) {
18 Type t = kv.GetType ();
19 if (t.IsGenericType)
20 return 0;
21 else
22 return 1;
24 return 2;