Ver código fonte

Fix build on UWP/UAT10.

drieseng 9 anos atrás
pai
commit
e8cf0a4455
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      src/Renci.SshNet/Common/BigInteger.cs

+ 2 - 2
src/Renci.SshNet/Common/BigInteger.cs

@@ -2600,7 +2600,7 @@ namespace Renci.SshNet.Common
                 nfi = (NumberFormatInfo) fp.GetFormat(typeNfi);
             }
             if (nfi == null)
-                nfi = Thread.CurrentThread.CurrentCulture.NumberFormat;
+                nfi = NumberFormatInfo.CurrentInfo;
 
             if (!CheckStyle(style, tryParse, ref exc))
                 return false;
@@ -3056,7 +3056,7 @@ namespace Renci.SshNet.Common
                 return false;
             }
 
-            var info = Thread.CurrentThread.CurrentCulture.NumberFormat;
+            var info = NumberFormatInfo.CurrentInfo;
 
             var negative = info.NegativeSign;
             var positive = info.PositiveSign;