Skip to content

Commit 3f70b69

Browse files
committed
Add culture issue fix to SL as well
1 parent e9440a5 commit 3f70b69

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

RestSharp/Extensions/ReflectionExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public static object ChangeType(this object source, Type newType)
7474

7575
public static object ChangeType(this object source, Type newType, CultureInfo culture)
7676
{
77-
#if FRAMEWORK || WINDOWS_PHONE
77+
#if FRAMEWORK || SILVERLIGHT || WINDOWS_PHONE
7878
return Convert.ChangeType(source, newType, culture);
7979
#else
8080
return Convert.ChangeType(source, newType, null);

Tools/NuGet.exe

11 KB
Binary file not shown.

0 commit comments

Comments
 (0)