mirror of
https://github.com/sshnet/SSH.NET.git
synced 2026-09-10 17:25:51 +00:00
Fix build on UWP/UAT10.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user