2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mono / tests / cattr-object.cs
index 015f5ed7d8e3f5c745da552118060e18b601f579..51db9c5ae58a1c7bc78ba174ac949a83eb27f18c 100644 (file)
@@ -15,7 +15,7 @@ class T {
                                Console.WriteLine ("got value: {0}", val);
                                if (val != 1)
                                        return 2;
-                       } else if (attr.obj.GetType () == typeof(int)) {
+                       } else if (attr.obj.GetType () == typeof(TypeCode)) {
                                int val = (int)attr.obj;
                                if (val != (int)TypeCode.Empty)
                                        return 3;