diff options
Diffstat (limited to 'mono/DBusType/Int32.cs')
-rw-r--r-- | mono/DBusType/Int32.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mono/DBusType/Int32.cs b/mono/DBusType/Int32.cs index 681a55f3..a759b794 100644 --- a/mono/DBusType/Int32.cs +++ b/mono/DBusType/Int32.cs @@ -36,7 +36,7 @@ namespace DBus.DBusType public static bool Suits(System.Type type) { - if (type.IsEnum && type.UnderlyingSystemType == typeof(System.Int32)) { + if (type.IsEnum && Enum.GetUnderlyingType (type) == typeof(System.Int32)) { return true; } |