-Fixed build
-Removed unused code
This commit is contained in:
@@ -189,7 +189,7 @@ namespace Newtonsoft.Json.Utilities
|
||||
Type nonNullable = Nullable.GetUnderlyingType(t);
|
||||
if (nonNullable.IsEnum())
|
||||
{
|
||||
Type nullableUnderlyingType = ReflectionUtils.MakeGenericType(typeof (Nullable<>), Enum.GetUnderlyingType(nonNullable));
|
||||
Type nullableUnderlyingType = typeof(Nullable<>).MakeGenericType(Enum.GetUnderlyingType(nonNullable));
|
||||
return GetTypeCode(nullableUnderlyingType);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user