diff options
Diffstat (limited to 'Src/Newtonsoft.Json/Converters/StringEnumConverter.cs')
-rw-r--r-- | Src/Newtonsoft.Json/Converters/StringEnumConverter.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Newtonsoft.Json/Converters/StringEnumConverter.cs b/Src/Newtonsoft.Json/Converters/StringEnumConverter.cs index cc5d480..137bc64 100644 --- a/Src/Newtonsoft.Json/Converters/StringEnumConverter.cs +++ b/Src/Newtonsoft.Json/Converters/StringEnumConverter.cs @@ -191,7 +191,7 @@ namespace Newtonsoft.Json.Converters ? Nullable.GetUnderlyingType(objectType)
: objectType;
- return t.IsEnum;
+ return t.IsEnum();
}
}
}
\ No newline at end of file |