diff options
Diffstat (limited to 'mono/Arguments.cs')
-rw-r--r-- | mono/Arguments.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mono/Arguments.cs b/mono/Arguments.cs index d78fbff2..b68ed5a3 100644 --- a/mono/Arguments.cs +++ b/mono/Arguments.cs @@ -165,6 +165,8 @@ namespace DBus if (type.IsArray) constructorType = typeof (System.Array); + else if (type.IsEnum) + constructorType = Enum.GetUnderlyingType (type); else constructorType = type.UnderlyingSystemType; |