diff options
Diffstat (limited to 'mcs/mcs/typemanager.cs')
-rwxr-xr-x | mcs/mcs/typemanager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/mcs/typemanager.cs b/mcs/mcs/typemanager.cs index 2c2cb05b669..d488979601f 100755 --- a/mcs/mcs/typemanager.cs +++ b/mcs/mcs/typemanager.cs @@ -1495,7 +1495,7 @@ public class TypeManager { public static bool IsEnumType (Type t) { - if (t == TypeManager.enum_type || t.IsSubclassOf (TypeManager.enum_type)) + if (t.IsSubclassOf (TypeManager.enum_type)) return true; else return false; |