static private ParseUInt64 ( String value, NumberStyles options, NumberFormatInfo numfmt ) : UInt64 | ||
value | String | |
options | NumberStyles | |
numfmt | NumberFormatInfo | |
return | UInt64 |
public static ulong Parse(String s, NumberStyles style, IFormatProvider provider) { NumberFormatInfo info = NumberFormatInfo.GetInstance(provider); NumberFormatInfo.ValidateParseStyle(style); return(Number.ParseUInt64(s, style, info)); }
public static ulong Parse(string s, IFormatProvider?provider) { if (s == null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); } return(Number.ParseUInt64(s, NumberStyles.Integer, NumberFormatInfo.GetInstance(provider))); }
public static ulong Parse(string s) { if (s == null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); } return(Number.ParseUInt64(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo)); }
public static ulong Parse(string s, NumberStyles style) { NumberFormatInfo.ValidateParseStyleInteger(style); if (s == null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); } return(Number.ParseUInt64(s, style, NumberFormatInfo.CurrentInfo)); }
public static ulong Parse(String s, NumberStyles style, IFormatProvider provider) { NumberFormatInfo.ValidateParseStyleInteger(style); if (s == null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); } return(Number.ParseUInt64(s.AsReadOnlySpan(), style, NumberFormatInfo.GetInstance(provider))); }
public unsafe static UIntPtr Parse(String s, NumberStyles style) { NumberFormatInfo.ValidateParseStyle(style); if (sizeof(UIntPtr) == 4) { return(Number.ParseUInt32(s, style)); } else { return(Number.ParseUInt64(s, style)); } }
public static ulong Parse(string s, IFormatProvider provider) { return(Number.ParseUInt64(s, NumberStyles.Integer, NumberFormatInfo.GetInstance(provider))); }
public static ulong Parse(String s, NumberStyles style) { NumberFormatInfo.ValidateParseStyleInteger(style); return(Number.ParseUInt64(s, style, NumberFormatInfo.CurrentInfo)); }
public static ulong Parse(String s) { return(Number.ParseUInt64(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo)); }
public static ulong Parse(ReadOnlySpan <char> s, NumberStyles style = NumberStyles.Integer, IFormatProvider?provider = null) { NumberFormatInfo.ValidateParseStyleInteger(style); return(Number.ParseUInt64(s, style, NumberFormatInfo.GetInstance(provider))); }
public static ulong Parse(string s, NumberStyles style, IFormatProvider provider) { NumberFormatInfo2.ValidateParseStyleInteger(style); return(Number.ParseUInt64(s, style, NumberFormatInfo.GetInstance(provider))); }