Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/mcs/typemanager.cs')
-rwxr-xr-xmcs/mcs/typemanager.cs2
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;