2009-06-23 Marek Safar <marek.safar@gmail.com>
[mono.git] / mcs / mcs / enum.cs
index 2523e0cf76c1cc701b5fb638ac8bc2d7254e300b..437940f6cc837cc6aaca3742409e3ecf67f955d0 100644 (file)
@@ -61,7 +61,7 @@ namespace Mono.CSharp {
                        return (t == TypeManager.int32_type || t == TypeManager.uint32_type || t == TypeManager.int64_type ||
                                t == TypeManager.byte_type || t == TypeManager.sbyte_type || t == TypeManager.short_type ||
                                t == TypeManager.ushort_type || t == TypeManager.uint64_type || t == TypeManager.char_type ||
-                               t.IsEnum);
+                               TypeManager.IsEnumType (t));
                }
 
                public object Value {