784 lines
37 KiB
C#
784 lines
37 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Globalization
|
|
{
|
|
/// <summary>Provides culture-specific information for formatting and parsing numeric values.</summary>
|
|
// Token: 0x020002DF RID: 735
|
|
[Token(Token = "0x20002DF")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public sealed class NumberFormatInfo : ICloneable, IFormatProvider
|
|
{
|
|
/// <summary>Initializes a new writable instance of the <see cref="T:System.Globalization.NumberFormatInfo" /> class that is culture-independent (invariant).</summary>
|
|
// Token: 0x06001B30 RID: 6960 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001B30")]
|
|
[Address(RVA = "0x2890470", Offset = "0x288F270", VA = "0x182890470")]
|
|
public NumberFormatInfo()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001B31 RID: 6961 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001B31")]
|
|
[Address(RVA = "0x288FBD0", Offset = "0x288E9D0", VA = "0x18288FBD0")]
|
|
[OnSerializing]
|
|
private void OnSerializing(StreamingContext ctx)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001B32 RID: 6962 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001B32")]
|
|
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080")]
|
|
[OnDeserializing]
|
|
private void OnDeserializing(StreamingContext ctx)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001B33 RID: 6963 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001B33")]
|
|
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080")]
|
|
[OnDeserialized]
|
|
private void OnDeserialized(StreamingContext ctx)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001B34 RID: 6964 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001B34")]
|
|
[Address(RVA = "0x288FEB0", Offset = "0x288ECB0", VA = "0x18288FEB0")]
|
|
internal NumberFormatInfo(CultureData cultureData)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets a read-only <see cref="T:System.Globalization.NumberFormatInfo" /> object that is culture-independent (invariant).</summary>
|
|
/// <returns>A read-only object that is culture-independent (invariant).</returns>
|
|
// Token: 0x17000368 RID: 872
|
|
// (get) Token: 0x06001B35 RID: 6965 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000368")]
|
|
public static NumberFormatInfo InvariantInfo
|
|
{
|
|
[Token(Token = "0x6001B35")]
|
|
[Address(RVA = "0x2890600", Offset = "0x288F400", VA = "0x182890600")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the <see cref="T:System.Globalization.NumberFormatInfo" /> associated with the specified <see cref="T:System.IFormatProvider" />.</summary>
|
|
/// <param name="formatProvider">The <see cref="T:System.IFormatProvider" /> used to get the <see cref="T:System.Globalization.NumberFormatInfo" />.
|
|
/// -or-
|
|
/// <see langword="null" /> to get <see cref="P:System.Globalization.NumberFormatInfo.CurrentInfo" />.</param>
|
|
/// <returns>The <see cref="T:System.Globalization.NumberFormatInfo" /> associated with the specified <see cref="T:System.IFormatProvider" />.</returns>
|
|
// Token: 0x06001B36 RID: 6966 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6001B36")]
|
|
[Address(RVA = "0x288F950", Offset = "0x288E750", VA = "0x18288F950")]
|
|
public static NumberFormatInfo GetInstance(IFormatProvider formatProvider)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Creates a shallow copy of the <see cref="T:System.Globalization.NumberFormatInfo" /> object.</summary>
|
|
/// <returns>A new object copied from the original <see cref="T:System.Globalization.NumberFormatInfo" /> object.</returns>
|
|
// Token: 0x06001B37 RID: 6967 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6001B37")]
|
|
[Address(RVA = "0x288F850", Offset = "0x288E650", VA = "0x18288F850", Slot = "4")]
|
|
public object Clone()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Gets or sets the number of decimal places to use in currency values.</summary>
|
|
/// <returns>The number of decimal places to use in currency values. The default for <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> is 2.</returns>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">The property is being set to a value that is less than 0 or greater than 99.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.NumberFormatInfo" /> object is read-only.</exception>
|
|
// Token: 0x17000369 RID: 873
|
|
// (get) Token: 0x06001B38 RID: 6968 RVA: 0x00011D60 File Offset: 0x0000FF60
|
|
[Token(Token = "0x17000369")]
|
|
public int CurrencyDecimalDigits
|
|
{
|
|
[Token(Token = "0x6001B38")]
|
|
[Address(RVA = "0x12683C0", Offset = "0x12671C0", VA = "0x1812683C0")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the string to use as the decimal separator in currency values.</summary>
|
|
/// <returns>The string to use as the decimal separator in currency values. The default for <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> is ".".</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">The property is being set to <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.NumberFormatInfo" /> object is read-only.</exception>
|
|
/// <exception cref="T:System.ArgumentException">The property is being set to an empty string.</exception>
|
|
// Token: 0x1700036A RID: 874
|
|
// (get) Token: 0x06001B39 RID: 6969 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x1700036A")]
|
|
public string CurrencyDecimalSeparator
|
|
{
|
|
[Token(Token = "0x6001B39")]
|
|
[Address(RVA = "0x415290", Offset = "0x414090", VA = "0x180415290")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a value that indicates whether this <see cref="T:System.Globalization.NumberFormatInfo" /> object is read-only.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the <see cref="T:System.Globalization.NumberFormatInfo" /> is read-only; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x1700036B RID: 875
|
|
// (get) Token: 0x06001B3A RID: 6970 RVA: 0x00011D78 File Offset: 0x0000FF78
|
|
[Token(Token = "0x1700036B")]
|
|
public bool IsReadOnly
|
|
{
|
|
[Token(Token = "0x6001B3A")]
|
|
[Address(RVA = "0x97B980", Offset = "0x97A780", VA = "0x18097B980")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the number of digits in each group to the left of the decimal in currency values.</summary>
|
|
/// <returns>The number of digits in each group to the left of the decimal in currency values. The default for <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> is a one-dimensional array with only one element, which is set to 3.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">The property is being set to <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.ArgumentException">The property is being set and the array contains an entry that is less than 0 or greater than 9.
|
|
/// -or-
|
|
/// The property is being set and the array contains an entry, other than the last entry, that is set to 0.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.NumberFormatInfo" /> object is read-only.</exception>
|
|
// Token: 0x1700036C RID: 876
|
|
// (get) Token: 0x06001B3B RID: 6971 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x1700036C")]
|
|
public int[] CurrencyGroupSizes
|
|
{
|
|
[Token(Token = "0x6001B3B")]
|
|
[Address(RVA = "0x2890480", Offset = "0x288F280", VA = "0x182890480")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the number of digits in each group to the left of the decimal in numeric values.</summary>
|
|
/// <returns>The number of digits in each group to the left of the decimal in numeric values. The default for <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> is a one-dimensional array with only one element, which is set to 3.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">The property is being set to <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.ArgumentException">The property is being set and the array contains an entry that is less than 0 or greater than 9.
|
|
/// -or-
|
|
/// The property is being set and the array contains an entry, other than the last entry, that is set to 0.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.NumberFormatInfo" /> object is read-only.</exception>
|
|
// Token: 0x1700036D RID: 877
|
|
// (get) Token: 0x06001B3C RID: 6972 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x1700036D")]
|
|
public int[] NumberGroupSizes
|
|
{
|
|
[Token(Token = "0x6001B3C")]
|
|
[Address(RVA = "0x2890700", Offset = "0x288F500", VA = "0x182890700")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the number of digits in each group to the left of the decimal in percent values.</summary>
|
|
/// <returns>The number of digits in each group to the left of the decimal in percent values. The default for <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> is a one-dimensional array with only one element, which is set to 3.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">The property is being set to <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.ArgumentException">The property is being set and the array contains an entry that is less than 0 or greater than 9.
|
|
/// -or-
|
|
/// The property is being set and the array contains an entry, other than the last entry, that is set to 0.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.NumberFormatInfo" /> object is read-only.</exception>
|
|
// Token: 0x1700036E RID: 878
|
|
// (get) Token: 0x06001B3D RID: 6973 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x1700036E")]
|
|
public int[] PercentGroupSizes
|
|
{
|
|
[Token(Token = "0x6001B3D")]
|
|
[Address(RVA = "0x2890780", Offset = "0x288F580", VA = "0x182890780")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the string that separates groups of digits to the left of the decimal in currency values.</summary>
|
|
/// <returns>The string that separates groups of digits to the left of the decimal in currency values. The default for <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> is ",".</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">The property is being set to <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.NumberFormatInfo" /> object is read-only.</exception>
|
|
// Token: 0x1700036F RID: 879
|
|
// (get) Token: 0x06001B3E RID: 6974 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x1700036F")]
|
|
public string CurrencyGroupSeparator
|
|
{
|
|
[Token(Token = "0x6001B3E")]
|
|
[Address(RVA = "0x3FA170", Offset = "0x3F8F70", VA = "0x1803FA170")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the string to use as the currency symbol.</summary>
|
|
/// <returns>The string to use as the currency symbol. The default for <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> is "¤".</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">The property is being set to <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.NumberFormatInfo" /> object is read-only.</exception>
|
|
// Token: 0x17000370 RID: 880
|
|
// (get) Token: 0x06001B3F RID: 6975 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000370")]
|
|
public string CurrencySymbol
|
|
{
|
|
[Token(Token = "0x6001B3F")]
|
|
[Address(RVA = "0x423D40", Offset = "0x422B40", VA = "0x180423D40")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a read-only <see cref="T:System.Globalization.NumberFormatInfo" /> that formats values based on the current culture.</summary>
|
|
/// <returns>A read-only <see cref="T:System.Globalization.NumberFormatInfo" /> based on the culture of the current thread.</returns>
|
|
// Token: 0x17000371 RID: 881
|
|
// (get) Token: 0x06001B40 RID: 6976 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000371")]
|
|
public static NumberFormatInfo CurrentInfo
|
|
{
|
|
[Token(Token = "0x6001B40")]
|
|
[Address(RVA = "0x2890500", Offset = "0x288F300", VA = "0x182890500")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the string that represents the IEEE NaN (not a number) value.</summary>
|
|
/// <returns>The string that represents the IEEE NaN (not a number) value. The default for <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> is "NaN".</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">The property is being set to <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.NumberFormatInfo" /> object is read-only.</exception>
|
|
// Token: 0x17000372 RID: 882
|
|
// (get) Token: 0x06001B41 RID: 6977 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000372")]
|
|
public string NaNSymbol
|
|
{
|
|
[Token(Token = "0x6001B41")]
|
|
[Address(RVA = "0x423E10", Offset = "0x422C10", VA = "0x180423E10")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the format pattern for negative currency values.</summary>
|
|
/// <returns>The format pattern for negative currency values. The default for <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> is 0, which represents "($n)", where "$" is the <see cref="P:System.Globalization.NumberFormatInfo.CurrencySymbol" /> and <paramref name="n" /> is a number.</returns>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">The property is being set to a value that is less than 0 or greater than 15.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.NumberFormatInfo" /> object is read-only.</exception>
|
|
// Token: 0x17000373 RID: 883
|
|
// (get) Token: 0x06001B42 RID: 6978 RVA: 0x00011D90 File Offset: 0x0000FF90
|
|
[Token(Token = "0x17000373")]
|
|
public int CurrencyNegativePattern
|
|
{
|
|
[Token(Token = "0x6001B42")]
|
|
[Address(RVA = "0xD510D0", Offset = "0xD4FED0", VA = "0x180D510D0")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the format pattern for negative numeric values.</summary>
|
|
/// <returns>The format pattern for negative numeric values.</returns>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">The property is being set to a value that is less than 0 or greater than 4.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.NumberFormatInfo" /> object is read-only.</exception>
|
|
// Token: 0x17000374 RID: 884
|
|
// (get) Token: 0x06001B43 RID: 6979 RVA: 0x00011DA8 File Offset: 0x0000FFA8
|
|
[Token(Token = "0x17000374")]
|
|
public int NumberNegativePattern
|
|
{
|
|
[Token(Token = "0x6001B43")]
|
|
[Address(RVA = "0x403A30", Offset = "0x402830", VA = "0x180403A30")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the format pattern for positive percent values.</summary>
|
|
/// <returns>The format pattern for positive percent values. The default for <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> is 0, which represents "n %", where "%" is the <see cref="P:System.Globalization.NumberFormatInfo.PercentSymbol" /> and <paramref name="n" /> is a number.</returns>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">The property is being set to a value that is less than 0 or greater than 3.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.NumberFormatInfo" /> object is read-only.</exception>
|
|
// Token: 0x17000375 RID: 885
|
|
// (get) Token: 0x06001B44 RID: 6980 RVA: 0x00011DC0 File Offset: 0x0000FFC0
|
|
[Token(Token = "0x17000375")]
|
|
public int PercentPositivePattern
|
|
{
|
|
[Token(Token = "0x6001B44")]
|
|
[Address(RVA = "0x403AB0", Offset = "0x4028B0", VA = "0x180403AB0")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the format pattern for negative percent values.</summary>
|
|
/// <returns>The format pattern for negative percent values. The default for <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> is 0, which represents "-n %", where "%" is the <see cref="P:System.Globalization.NumberFormatInfo.PercentSymbol" /> and <paramref name="n" /> is a number.</returns>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">The property is being set to a value that is less than 0 or greater than 11.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.NumberFormatInfo" /> object is read-only.</exception>
|
|
// Token: 0x17000376 RID: 886
|
|
// (get) Token: 0x06001B45 RID: 6981 RVA: 0x00011DD8 File Offset: 0x0000FFD8
|
|
[Token(Token = "0x17000376")]
|
|
public int PercentNegativePattern
|
|
{
|
|
[Token(Token = "0x6001B45")]
|
|
[Address(RVA = "0xFBDD90", Offset = "0xFBCB90", VA = "0x180FBDD90")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the string that represents negative infinity.</summary>
|
|
/// <returns>The string that represents negative infinity. The default for <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> is "-Infinity".</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">The property is being set to <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.NumberFormatInfo" /> object is read-only.</exception>
|
|
// Token: 0x17000377 RID: 887
|
|
// (get) Token: 0x06001B46 RID: 6982 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000377")]
|
|
public string NegativeInfinitySymbol
|
|
{
|
|
[Token(Token = "0x6001B46")]
|
|
[Address(RVA = "0x4391F0", Offset = "0x437FF0", VA = "0x1804391F0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the string that denotes that the associated number is negative.</summary>
|
|
/// <returns>The string that denotes that the associated number is negative. The default for <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> is "-".</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">The property is being set to <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.NumberFormatInfo" /> object is read-only.</exception>
|
|
// Token: 0x17000378 RID: 888
|
|
// (get) Token: 0x06001B47 RID: 6983 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000378")]
|
|
public string NegativeSign
|
|
{
|
|
[Token(Token = "0x6001B47")]
|
|
[Address(RVA = "0x3FA180", Offset = "0x3F8F80", VA = "0x1803FA180")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the number of decimal places to use in numeric values.</summary>
|
|
/// <returns>The number of decimal places to use in numeric values. The default for <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> is 2.</returns>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">The property is being set to a value that is less than 0 or greater than 99.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.NumberFormatInfo" /> object is read-only.</exception>
|
|
// Token: 0x17000379 RID: 889
|
|
// (get) Token: 0x06001B48 RID: 6984 RVA: 0x00011DF0 File Offset: 0x0000FFF0
|
|
[Token(Token = "0x17000379")]
|
|
public int NumberDecimalDigits
|
|
{
|
|
[Token(Token = "0x6001B48")]
|
|
[Address(RVA = "0x985470", Offset = "0x984270", VA = "0x180985470")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the string to use as the decimal separator in numeric values.</summary>
|
|
/// <returns>The string to use as the decimal separator in numeric values. The default for <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> is ".".</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">The property is being set to <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.NumberFormatInfo" /> object is read-only.</exception>
|
|
/// <exception cref="T:System.ArgumentException">The property is being set to an empty string.</exception>
|
|
// Token: 0x1700037A RID: 890
|
|
// (get) Token: 0x06001B49 RID: 6985 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x1700037A")]
|
|
public string NumberDecimalSeparator
|
|
{
|
|
[Token(Token = "0x6001B49")]
|
|
[Address(RVA = "0x3F63D0", Offset = "0x3F51D0", VA = "0x1803F63D0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the string that separates groups of digits to the left of the decimal in numeric values.</summary>
|
|
/// <returns>The string that separates groups of digits to the left of the decimal in numeric values. The default for <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> is ",".</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">The property is being set to <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.NumberFormatInfo" /> object is read-only.</exception>
|
|
// Token: 0x1700037B RID: 891
|
|
// (get) Token: 0x06001B4A RID: 6986 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x1700037B")]
|
|
public string NumberGroupSeparator
|
|
{
|
|
[Token(Token = "0x6001B4A")]
|
|
[Address(RVA = "0x408890", Offset = "0x407690", VA = "0x180408890")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the format pattern for positive currency values.</summary>
|
|
/// <returns>The format pattern for positive currency values. The default for <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> is 0, which represents "$n", where "$" is the <see cref="P:System.Globalization.NumberFormatInfo.CurrencySymbol" /> and <paramref name="n" /> is a number.</returns>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">The property is being set to a value that is less than 0 or greater than 3.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.NumberFormatInfo" /> object is read-only.</exception>
|
|
// Token: 0x1700037C RID: 892
|
|
// (get) Token: 0x06001B4B RID: 6987 RVA: 0x00011E08 File Offset: 0x00010008
|
|
[Token(Token = "0x1700037C")]
|
|
public int CurrencyPositivePattern
|
|
{
|
|
[Token(Token = "0x6001B4B")]
|
|
[Address(RVA = "0x1723230", Offset = "0x1722030", VA = "0x181723230")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the string that represents positive infinity.</summary>
|
|
/// <returns>The string that represents positive infinity. The default for <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> is "Infinity".</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">The property is being set to <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.NumberFormatInfo" /> object is read-only.</exception>
|
|
// Token: 0x1700037D RID: 893
|
|
// (get) Token: 0x06001B4C RID: 6988 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x1700037D")]
|
|
public string PositiveInfinitySymbol
|
|
{
|
|
[Token(Token = "0x6001B4C")]
|
|
[Address(RVA = "0x4335D0", Offset = "0x4323D0", VA = "0x1804335D0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the string that denotes that the associated number is positive.</summary>
|
|
/// <returns>The string that denotes that the associated number is positive. The default for <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> is "+".</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">In a set operation, the value to be assigned is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.NumberFormatInfo" /> object is read-only.</exception>
|
|
// Token: 0x1700037E RID: 894
|
|
// (get) Token: 0x06001B4D RID: 6989 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x1700037E")]
|
|
public string PositiveSign
|
|
{
|
|
[Token(Token = "0x6001B4D")]
|
|
[Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the number of decimal places to use in percent values.</summary>
|
|
/// <returns>The number of decimal places to use in percent values. The default for <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> is 2.</returns>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">The property is being set to a value that is less than 0 or greater than 99.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.NumberFormatInfo" /> object is read-only.</exception>
|
|
// Token: 0x1700037F RID: 895
|
|
// (get) Token: 0x06001B4E RID: 6990 RVA: 0x00011E20 File Offset: 0x00010020
|
|
[Token(Token = "0x1700037F")]
|
|
public int PercentDecimalDigits
|
|
{
|
|
[Token(Token = "0x6001B4E")]
|
|
[Address(RVA = "0xA838F0", Offset = "0xA826F0", VA = "0x180A838F0")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the string to use as the decimal separator in percent values.</summary>
|
|
/// <returns>The string to use as the decimal separator in percent values. The default for <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> is ".".</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">The property is being set to <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.NumberFormatInfo" /> object is read-only.</exception>
|
|
/// <exception cref="T:System.ArgumentException">The property is being set to an empty string.</exception>
|
|
// Token: 0x17000380 RID: 896
|
|
// (get) Token: 0x06001B4F RID: 6991 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000380")]
|
|
public string PercentDecimalSeparator
|
|
{
|
|
[Token(Token = "0x6001B4F")]
|
|
[Address(RVA = "0x567CE0", Offset = "0x566AE0", VA = "0x180567CE0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the string that separates groups of digits to the left of the decimal in percent values.</summary>
|
|
/// <returns>The string that separates groups of digits to the left of the decimal in percent values. The default for <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> is ",".</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">The property is being set to <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.NumberFormatInfo" /> object is read-only.</exception>
|
|
// Token: 0x17000381 RID: 897
|
|
// (get) Token: 0x06001B50 RID: 6992 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000381")]
|
|
public string PercentGroupSeparator
|
|
{
|
|
[Token(Token = "0x6001B50")]
|
|
[Address(RVA = "0x44EC80", Offset = "0x44DA80", VA = "0x18044EC80")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the string to use as the percent symbol.</summary>
|
|
/// <returns>The string to use as the percent symbol. The default for <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> is "%".</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">The property is being set to <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.NumberFormatInfo" /> object is read-only.</exception>
|
|
// Token: 0x17000382 RID: 898
|
|
// (get) Token: 0x06001B51 RID: 6993 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000382")]
|
|
public string PercentSymbol
|
|
{
|
|
[Token(Token = "0x6001B51")]
|
|
[Address(RVA = "0x44EC40", Offset = "0x44DA40", VA = "0x18044EC40")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the string to use as the per mille symbol.</summary>
|
|
/// <returns>The string to use as the per mille symbol. The default for <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> is "‰", which is the Unicode character U+2030.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">The property is being set to <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.NumberFormatInfo" /> object is read-only.</exception>
|
|
// Token: 0x17000383 RID: 899
|
|
// (get) Token: 0x06001B52 RID: 6994 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000383")]
|
|
public string PerMilleSymbol
|
|
{
|
|
[Token(Token = "0x6001B52")]
|
|
[Address(RVA = "0x46AA30", Offset = "0x469830", VA = "0x18046AA30")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets an object of the specified type that provides a number formatting service.</summary>
|
|
/// <param name="formatType">The <see cref="T:System.Type" /> of the required formatting service.</param>
|
|
/// <returns>The current <see cref="T:System.Globalization.NumberFormatInfo" />, if <paramref name="formatType" /> is the same as the type of the current <see cref="T:System.Globalization.NumberFormatInfo" />; otherwise, <see langword="null" />.</returns>
|
|
// Token: 0x06001B53 RID: 6995 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6001B53")]
|
|
[Address(RVA = "0x288F8C0", Offset = "0x288E6C0", VA = "0x18288F8C0", Slot = "5")]
|
|
public object GetFormat(Type formatType)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Returns a read-only <see cref="T:System.Globalization.NumberFormatInfo" /> wrapper.</summary>
|
|
/// <param name="nfi">The <see cref="T:System.Globalization.NumberFormatInfo" /> to wrap.</param>
|
|
/// <returns>A read-only <see cref="T:System.Globalization.NumberFormatInfo" /> wrapper around <paramref name="nfi" />.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="nfi" /> is <see langword="null" />.</exception>
|
|
// Token: 0x06001B54 RID: 6996 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6001B54")]
|
|
[Address(RVA = "0x288FC60", Offset = "0x288EA60", VA = "0x18288FC60")]
|
|
public static NumberFormatInfo ReadOnly(NumberFormatInfo nfi)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06001B55 RID: 6997 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001B55")]
|
|
[Address(RVA = "0x288FDE0", Offset = "0x288EBE0", VA = "0x18288FDE0")]
|
|
internal static void ValidateParseStyleInteger(NumberStyles style)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001B56 RID: 6998 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001B56")]
|
|
[Address(RVA = "0x288FD10", Offset = "0x288EB10", VA = "0x18288FD10")]
|
|
internal static void ValidateParseStyleFloatingPoint(NumberStyles style)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000F30 RID: 3888
|
|
[Token(Token = "0x4000F30")]
|
|
private static NumberFormatInfo invariantInfo;
|
|
|
|
// Token: 0x04000F31 RID: 3889
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000F31")]
|
|
internal int[] numberGroupSizes;
|
|
|
|
// Token: 0x04000F32 RID: 3890
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000F32")]
|
|
internal int[] currencyGroupSizes;
|
|
|
|
// Token: 0x04000F33 RID: 3891
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4000F33")]
|
|
internal int[] percentGroupSizes;
|
|
|
|
// Token: 0x04000F34 RID: 3892
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4000F34")]
|
|
internal string positiveSign;
|
|
|
|
// Token: 0x04000F35 RID: 3893
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4000F35")]
|
|
internal string negativeSign;
|
|
|
|
// Token: 0x04000F36 RID: 3894
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x4000F36")]
|
|
internal string numberDecimalSeparator;
|
|
|
|
// Token: 0x04000F37 RID: 3895
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x4000F37")]
|
|
internal string numberGroupSeparator;
|
|
|
|
// Token: 0x04000F38 RID: 3896
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x4000F38")]
|
|
internal string currencyGroupSeparator;
|
|
|
|
// Token: 0x04000F39 RID: 3897
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x4000F39")]
|
|
internal string currencyDecimalSeparator;
|
|
|
|
// Token: 0x04000F3A RID: 3898
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x4000F3A")]
|
|
internal string currencySymbol;
|
|
|
|
// Token: 0x04000F3B RID: 3899
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x4000F3B")]
|
|
internal string ansiCurrencySymbol;
|
|
|
|
// Token: 0x04000F3C RID: 3900
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x4000F3C")]
|
|
internal string nanSymbol;
|
|
|
|
// Token: 0x04000F3D RID: 3901
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x4000F3D")]
|
|
internal string positiveInfinitySymbol;
|
|
|
|
// Token: 0x04000F3E RID: 3902
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x78")]
|
|
[Token(Token = "0x4000F3E")]
|
|
internal string negativeInfinitySymbol;
|
|
|
|
// Token: 0x04000F3F RID: 3903
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x80")]
|
|
[Token(Token = "0x4000F3F")]
|
|
internal string percentDecimalSeparator;
|
|
|
|
// Token: 0x04000F40 RID: 3904
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x4000F40")]
|
|
internal string percentGroupSeparator;
|
|
|
|
// Token: 0x04000F41 RID: 3905
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x4000F41")]
|
|
internal string percentSymbol;
|
|
|
|
// Token: 0x04000F42 RID: 3906
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x98")]
|
|
[Token(Token = "0x4000F42")]
|
|
internal string perMilleSymbol;
|
|
|
|
// Token: 0x04000F43 RID: 3907
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xA0")]
|
|
[Token(Token = "0x4000F43")]
|
|
[OptionalField]
|
|
internal string[] nativeDigits;
|
|
|
|
// Token: 0x04000F44 RID: 3908
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xA8")]
|
|
[Token(Token = "0x4000F44")]
|
|
[OptionalField]
|
|
internal int m_dataItem;
|
|
|
|
// Token: 0x04000F45 RID: 3909
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xAC")]
|
|
[Token(Token = "0x4000F45")]
|
|
internal int numberDecimalDigits;
|
|
|
|
// Token: 0x04000F46 RID: 3910
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xB0")]
|
|
[Token(Token = "0x4000F46")]
|
|
internal int currencyDecimalDigits;
|
|
|
|
// Token: 0x04000F47 RID: 3911
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xB4")]
|
|
[Token(Token = "0x4000F47")]
|
|
internal int currencyPositivePattern;
|
|
|
|
// Token: 0x04000F48 RID: 3912
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xB8")]
|
|
[Token(Token = "0x4000F48")]
|
|
internal int currencyNegativePattern;
|
|
|
|
// Token: 0x04000F49 RID: 3913
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xBC")]
|
|
[Token(Token = "0x4000F49")]
|
|
internal int numberNegativePattern;
|
|
|
|
// Token: 0x04000F4A RID: 3914
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xC0")]
|
|
[Token(Token = "0x4000F4A")]
|
|
internal int percentPositivePattern;
|
|
|
|
// Token: 0x04000F4B RID: 3915
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xC4")]
|
|
[Token(Token = "0x4000F4B")]
|
|
internal int percentNegativePattern;
|
|
|
|
// Token: 0x04000F4C RID: 3916
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xC8")]
|
|
[Token(Token = "0x4000F4C")]
|
|
internal int percentDecimalDigits;
|
|
|
|
// Token: 0x04000F4D RID: 3917
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xCC")]
|
|
[Token(Token = "0x4000F4D")]
|
|
[OptionalField]
|
|
internal int digitSubstitution;
|
|
|
|
// Token: 0x04000F4E RID: 3918
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xD0")]
|
|
[Token(Token = "0x4000F4E")]
|
|
internal bool isReadOnly;
|
|
|
|
// Token: 0x04000F4F RID: 3919
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xD1")]
|
|
[Token(Token = "0x4000F4F")]
|
|
[OptionalField]
|
|
internal bool m_useUserOverride;
|
|
|
|
// Token: 0x04000F50 RID: 3920
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xD2")]
|
|
[Token(Token = "0x4000F50")]
|
|
[OptionalField]
|
|
internal bool m_isInvariant;
|
|
|
|
// Token: 0x04000F51 RID: 3921
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xD3")]
|
|
[Token(Token = "0x4000F51")]
|
|
[OptionalField]
|
|
internal bool validForParseAsNumber;
|
|
|
|
// Token: 0x04000F52 RID: 3922
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xD4")]
|
|
[Token(Token = "0x4000F52")]
|
|
[OptionalField]
|
|
internal bool validForParseAsCurrency;
|
|
|
|
// Token: 0x04000F53 RID: 3923
|
|
[Token(Token = "0x4000F53")]
|
|
private const NumberStyles InvalidNumberStyles = ~(NumberStyles.AllowLeadingWhite | NumberStyles.AllowTrailingWhite | NumberStyles.AllowLeadingSign | NumberStyles.AllowTrailingSign | NumberStyles.AllowParentheses | NumberStyles.AllowDecimalPoint | NumberStyles.AllowThousands | NumberStyles.AllowExponent | NumberStyles.AllowCurrencySymbol | NumberStyles.AllowHexSpecifier);
|
|
}
|
|
}
|