123 return info.nanSymbol;
177 return info.nanSymbol;
331 if (
format !=
null || num == 0)
421 string text =
string.FastAllocateString(
value);
445 string text =
string.FastAllocateString(0);
499 char* digits =
number.digits;
538 string text =
string.FastAllocateString(0);
557 char* digits =
number.digits;
570 string text =
string.FastAllocateString(0);
578 if (num == 0
L ||
text ==
null)
600 string text =
string.FastAllocateString(0);
630 char* digits =
number.digits;
643 string text =
string.FastAllocateString(43155456);
651 if (num == 0
L ||
text ==
null)
702 char* digits =
number.digits;
711 int[] currencyGroupSizes =
info.currencyGroupSizes;
712 string currencyGroupSeparator =
info.currencyGroupSeparator;
713 string currencyDecimalSeparator =
info.currencyDecimalSeparator;
722 char* digits =
number.digits;
752 char* digits =
number.digits;
775 int[] percentGroupSizes =
info.percentGroupSizes;
776 string percentDecimalSeparator =
info.percentDecimalSeparator;
777 string percentGroupSeparator =
info.percentGroupSeparator;
784 char* digits =
number.digits;
1285 string positiveInfinitySymbol;
1290 positiveInfinitySymbol =
info.positiveInfinitySymbol;
1291 if (positiveInfinitySymbol ==
null)
1295 char rawStringData = positiveInfinitySymbol.GetRawStringData();
1297 while (positiveInfinitySymbol._stringLength != 0);
1493 if (
string.wcslen(
ptr) != 0)
1550 char* digits =
number.digits;
1557 if ((
"$#" ==
null ||
"$#" !=
null) && (
"#$" ==
null ||
"#$" !=
null) && (
"$ #" ==
null ||
"$ #" !=
null) && (
"# $" ==
null ||
"# $" !=
null) && (
"($#)" ==
null ||
"($#)" !=
null) && (
"-$#" ==
null ||
"-$#" !=
null) && (
"$-#" ==
null ||
"$-#" !=
null) && (
"$#-" ==
null ||
"$#-" !=
null) && (
"(#$)" ==
null ||
"(#$)" !=
null) && (
"-#$" ==
null ||
"-#$" !=
null) && (
"#-$" ==
null ||
"#-$" !=
null) && (
"#$-" ==
null ||
"#$-" !=
null) && (
"-# $" ==
null ||
"-# $" !=
null) && (
"-$ #" ==
null ||
"-$ #" !=
null) && (
"# $-" ==
null ||
"# $-" !=
null) && (
"$ #-" ==
null ||
"$ #-" !=
null) && (
"$ -#" ==
null ||
"$ -#" !=
null) && (
"#- $" ==
null ||
"#- $" !=
null) && (
"($ #)" ==
null ||
"($ #)" !=
null) && (
"(# $)" ==
null ||
"(# $)" !=
null) && (
"# %" ==
null ||
"# %" !=
null) && (
"#%" ==
null ||
"#%" !=
null) && (
"%#" ==
null ||
"%#" !=
null) && (
"% #" ==
null ||
"% #" !=
null) && (
"-# %" ==
null ||
"-# %" !=
null) && (
"-#%" ==
null ||
"-#%" !=
null) && (
"-%#" ==
null ||
"-%#" !=
null) && (
"%-#" ==
null ||
"%-#" !=
null) && (
"%#-" ==
null ||
"%#-" !=
null) && (
"#-%" ==
null ||
"#-%" !=
null) && (
"#%-" ==
null ||
"#%-" !=
null) && (
"-% #" ==
null ||
"-% #" !=
null) && (
"# %-" ==
null ||
"# %-" !=
null) && (
"% #-" ==
null ||
"% #-" !=
null) && (
"% -#" ==
null ||
"% -#" !=
null) && (
"(#)" ==
null ||
"(#)" !=
null) && (
"-#" ==
null ||
"-#" !=
null) && (
"- #" ==
null ||
"- #" !=
null) && (
"#-" ==
null ||
"#-" !=
null) && (
"# -" ==
null ||
"# -" !=
null))
class f__AnonymousType0<< Count > j__TPar
static string GetResourceString(string str)
static ReadOnlySpan< char > TrimEnd(this ReadOnlySpan< char > span)
static bool TryFormatDecimal(decimal value, ReadOnlySpan< char > format, NumberFormatInfo info, Span< char > destination, [Out] int charsWritten)
static uint High32(ulong value)
static string NegativeInt32ToDecStr(int value, int digits, string sNegative)
static string FormatInt64(long value, ReadOnlySpan< char > format, IFormatProvider provider)
static void FormatExponent(ValueStringBuilder sb, NumberFormatInfo info, int value, char expChar, int minDigits, bool positiveSign)
static bool TryFormatDouble(double value, ReadOnlySpan< char > format, NumberFormatInfo info, Span< char > destination, [Out] int charsWritten)
static bool TryParseUInt64IntegerStyle(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] ulong result, bool failureIsOverflow)
static string Int32ToHexStr(int value, char hexBase, int digits)
static bool TryNegativeInt32ToDecStr(int value, int digits, string sNegative, Span< char > destination, [Out] int charsWritten)
static void FormatCurrency(ValueStringBuilder sb, Number.NumberBuffer number, int nMinDigits, int nMaxDigits, NumberFormatInfo info)
static bool TryCopyTo(string source, Span< char > destination, [Out] int charsWritten)
static bool TryParseInt32(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] int result)
static string FormatInt32(int value, ReadOnlySpan< char > format, IFormatProvider provider)
static unsafe void UInt32ToNumber(uint value, Number.NumberBuffer number)
static void NumberToString(ValueStringBuilder sb, Number.NumberBuffer number, char format, int nMaxDigits, NumberFormatInfo info, bool isDecimal)
static string FormatSingle(ValueStringBuilder sb, float value, ReadOnlySpan< char > format, NumberFormatInfo info)
static void FormatNumber(ValueStringBuilder sb, Number.NumberBuffer number, int nMinDigits, int nMaxDigits, NumberFormatInfo info)
static ulong Mul32x32To64(uint a, uint b)
static string FormatDecimal(decimal value, ReadOnlySpan< char > format, NumberFormatInfo info)
static string UInt64ToDecStr(ulong value, int digits)
static uint Low32(ulong value)
static unsafe void NumberToStringFormat(ValueStringBuilder sb, Number.NumberBuffer number, ReadOnlySpan< char > format, NumberFormatInfo info)
static bool TryParseDouble(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] double result)
static bool NumberBufferToDecimal(Number.NumberBuffer number, decimal value)
static int abs(int value)
static bool TryNegativeInt64ToDecStr(long input, int digits, string sNegative, Span< char > destination, [Out] int charsWritten)
static bool TryInt32ToHexStr(int value, char hexBase, int digits, Span< char > destination, [Out] int charsWritten)
static void StringToNumber(ReadOnlySpan< char > value, NumberStyles styles, Number.NumberBuffer number, NumberFormatInfo info, bool parseDecimal)
static bool TryStringToNumber(ReadOnlySpan< char > value, NumberStyles styles, Number.NumberBuffer number, NumberFormatInfo info, bool parseDecimal)
static readonly sbyte[] s_rgexp64Power10
static bool TryParseInt64(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] long result)
static string FormatUInt64(ulong value, ReadOnlySpan< char > format, IFormatProvider provider)
static unsafe void DoubleToNumber(double value, int precision, Number.NumberBuffer number)
static readonly int[] s_charToHexLookup
static bool TryParseUInt64(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] ulong result)
static bool TryParseUInt32HexNumberStyle(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] uint result, bool failureIsOverflow)
static void ThrowOverflowOrFormatException(bool overflow, string overflowResourceKey)
static readonly string[] s_posPercentFormats
static unsafe char * MatchChars(char *p, char *pEnd, string value)
static unsafe void UInt64ToNumber(ulong value, Number.NumberBuffer number)
static bool TryInt64ToHexStr(long value, char hexBase, int digits, Span< char > destination, [Out] int charsWritten)
static int ParseInt32(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info)
static unsafe char * Int32ToHexChars(char *buffer, uint value, int hexBase, int digits)
static bool IsWhite(int ch)
static uint Int64DivMod1E9(ulong value)
static string FormatUInt32(uint value, ReadOnlySpan< char > format, IFormatProvider provider)
static string Int64ToHexStr(long value, char hexBase, int digits)
static readonly string[] s_negPercentFormats
static unsafe void RoundNumber(Number.NumberBuffer number, int pos)
static bool NumberToInt32(Number.NumberBuffer number, int value)
static bool TryParseSingle(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] float result)
static bool TryUInt64ToDecStr(ulong value, int digits, Span< char > destination, [Out] int charsWritten)
static unsafe double NumberToDouble(Number.NumberBuffer number)
static bool TryParseUInt32(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] uint result)
static ulong Mul64Lossy(ulong a, ulong b, int pexp)
static uint ParseUInt32(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info)
static bool TrailingZeros(ReadOnlySpan< char > value, int index)
static void DecimalToNumber(decimal value, Number.NumberBuffer number)
static bool TryUInt32ToDecStr(uint value, int digits, Span< char > destination, [Out] int charsWritten)
static bool NumberBufferToDouble(Number.NumberBuffer number, double value)
static readonly short[] s_rgexp64Power10By16
static bool NumberToUInt32(Number.NumberBuffer number, uint value)
static bool IsDigit(int ch)
static decimal ParseDecimal(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info)
static bool TryParseDecimal(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] decimal result)
static bool TryFormatUInt64(ulong value, ReadOnlySpan< char > format, IFormatProvider provider, Span< char > destination, [Out] int charsWritten)
static bool TryParseUInt64HexNumberStyle(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] ulong result, bool failureIsOverflow)
static bool NumberToInt64(Number.NumberBuffer number, long value)
static void FormatGeneral(ValueStringBuilder sb, Number.NumberBuffer number, int nMinDigits, int nMaxDigits, NumberFormatInfo info, char expChar, bool bSuppressScientific)
static double ParseDouble(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info)
static string NegativeInt64ToDecStr(long input, int digits, string sNegative)
static bool NumberToUInt64(Number.NumberBuffer number, ulong value)
static readonly string[] s_negNumberFormats
static ulong ParseUInt64(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info)
static long ParseInt64(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info)
static float ParseSingle(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info)
static bool TryFormatSingle(float value, ReadOnlySpan< char > format, NumberFormatInfo info, Span< char > destination, [Out] int charsWritten)
static string UInt32ToDecStr(uint value, int digits)
static string FormatDouble(ValueStringBuilder sb, double value, ReadOnlySpan< char > format, NumberFormatInfo info)
static unsafe void Int64ToNumber(long input, Number.NumberBuffer number)
static unsafe uint DigitsToInt(char *p, int count)
static void Int32ToNumber(int value, Number.NumberBuffer number)
static bool TryParseUInt32IntegerStyle(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] uint result, bool failureIsOverflow)
static readonly string[] s_posCurrencyFormats
static unsafe char * UInt32ToDecChars(char *bufferEnd, uint value, int digits)
static char ParseFormatSpecifier(ReadOnlySpan< char > format, [Out] int digits)
static bool TryFormatUInt32(uint value, ReadOnlySpan< char > format, IFormatProvider provider, Span< char > destination, [Out] int charsWritten)
static readonly ulong[] s_rgval64Power10By16
static string FormatSingle(float value, string format, NumberFormatInfo info)
static unsafe bool ParseNumber(char *str, char *strEnd, NumberStyles styles, Number.NumberBuffer number, NumberFormatInfo info, bool parseDecimal)
static readonly ulong[] s_rgval64Power10
static bool TryFormatInt32(int value, ReadOnlySpan< char > format, IFormatProvider provider, Span< char > destination, [Out] int charsWritten)
static int FindSection(ReadOnlySpan< char > format, int section)
static unsafe void FormatFixed(ValueStringBuilder sb, Number.NumberBuffer number, int nMinDigits, int nMaxDigits, NumberFormatInfo info, int[] groupDigits, string sDecimal, string sGroup)
static bool TryFormatInt64(long value, ReadOnlySpan< char > format, IFormatProvider provider, Span< char > destination, [Out] int charsWritten)
static void FormatPercent(ValueStringBuilder sb, Number.NumberBuffer number, int nMinDigits, int nMaxDigits, NumberFormatInfo info)
static bool TryParseInt32IntegerStyle(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] int result, bool failureIsOverflow)
static string FormatDouble(double value, string format, NumberFormatInfo info)
static bool TryParseInt64IntegerStyle(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] long result, bool failureIsOverflow)
static readonly string[] s_negCurrencyFormats
static unsafe void FormatScientific(ValueStringBuilder sb, Number.NumberBuffer number, int nMinDigits, int nMaxDigits, NumberFormatInfo info, char expChar)
static int OffsetToStringData
Number.NumberBuffer.DigitsAndNullTerminator _digits