376 lines
15 KiB
C#
376 lines
15 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Globalization
|
|
{
|
|
/// <summary>Contains information about the country/region.</summary>
|
|
// Token: 0x020002FE RID: 766
|
|
[Token(Token = "0x20002FE")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
[StructLayout(0)]
|
|
public class RegionInfo
|
|
{
|
|
/// <summary>Gets the <see cref="T:System.Globalization.RegionInfo" /> that represents the country/region used by the current thread.</summary>
|
|
/// <returns>The <see cref="T:System.Globalization.RegionInfo" /> that represents the country/region used by the current thread.</returns>
|
|
// Token: 0x170003C5 RID: 965
|
|
// (get) Token: 0x06001C5C RID: 7260 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170003C5")]
|
|
public static RegionInfo CurrentRegion
|
|
{
|
|
[Token(Token = "0x6001C5C")]
|
|
[Address(RVA = "0x2890D70", Offset = "0x288FB70", VA = "0x182890D70")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Globalization.RegionInfo" /> class based on the country/region associated with the specified culture identifier.</summary>
|
|
/// <param name="culture">A culture identifier.</param>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <paramref name="culture" /> specifies either an invariant, custom, or neutral culture.</exception>
|
|
// Token: 0x06001C5D RID: 7261 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001C5D")]
|
|
[Address(RVA = "0x2890C80", Offset = "0x288FA80", VA = "0x182890C80")]
|
|
public RegionInfo(int culture)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Globalization.RegionInfo" /> class based on the country/region or specific culture, specified by name.</summary>
|
|
/// <param name="name">A string that contains a two-letter code defined in ISO 3166 for country/region.
|
|
/// -or-
|
|
/// A string that contains the culture name for a specific culture, custom culture, or Windows-only culture. If the culture name is not in RFC 4646 format, your application should specify the entire culture name instead of just the country/region.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="name" /> is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <paramref name="name" /> is not a valid country/region name or specific culture name.</exception>
|
|
// Token: 0x06001C5E RID: 7262 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001C5E")]
|
|
[Address(RVA = "0x2890B70", Offset = "0x288F970", VA = "0x182890B70")]
|
|
public RegionInfo(string name)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001C5F RID: 7263 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001C5F")]
|
|
[Address(RVA = "0x2890A50", Offset = "0x288F850", VA = "0x182890A50")]
|
|
private RegionInfo(CultureInfo ci)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001C60 RID: 7264 RVA: 0x00012768 File Offset: 0x00010968
|
|
[Token(Token = "0x6001C60")]
|
|
[Address(RVA = "0x2890960", Offset = "0x288F760", VA = "0x182890960")]
|
|
private bool GetByTerritory(CultureInfo ci)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x06001C61 RID: 7265 RVA: 0x00012780 File Offset: 0x00010980
|
|
[Token(Token = "0x6001C61")]
|
|
[Address(RVA = "0x2890D60", Offset = "0x288FB60", VA = "0x182890D60")]
|
|
private bool construct_internal_region_from_name(string name)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Gets the name, in English, of the currency used in the country/region.</summary>
|
|
/// <returns>The name, in English, of the currency used in the country/region.</returns>
|
|
// Token: 0x170003C6 RID: 966
|
|
// (get) Token: 0x06001C62 RID: 7266 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170003C6")]
|
|
[ComVisible(false)]
|
|
public virtual string CurrencyEnglishName
|
|
{
|
|
[Token(Token = "0x6001C62")]
|
|
[Address(RVA = "0x415290", Offset = "0x414090", VA = "0x180415290", Slot = "4")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the currency symbol associated with the country/region.</summary>
|
|
/// <returns>The currency symbol associated with the country/region.</returns>
|
|
// Token: 0x170003C7 RID: 967
|
|
// (get) Token: 0x06001C63 RID: 7267 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170003C7")]
|
|
public virtual string CurrencySymbol
|
|
{
|
|
[Token(Token = "0x6001C63")]
|
|
[Address(RVA = "0x408890", Offset = "0x407690", VA = "0x180408890", Slot = "5")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the full name of the country/region in the language of the localized version of .NET Framework.</summary>
|
|
/// <returns>The full name of the country/region in the language of the localized version of .NET Framework.</returns>
|
|
// Token: 0x170003C8 RID: 968
|
|
// (get) Token: 0x06001C64 RID: 7268 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170003C8")]
|
|
[MonoTODO]
|
|
public virtual string DisplayName
|
|
{
|
|
[Token(Token = "0x6001C64")]
|
|
[Address(RVA = "0x3FA180", Offset = "0x3F8F80", VA = "0x1803FA180", Slot = "6")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the full name of the country/region in English.</summary>
|
|
/// <returns>The full name of the country/region in English.</returns>
|
|
// Token: 0x170003C9 RID: 969
|
|
// (get) Token: 0x06001C65 RID: 7269 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170003C9")]
|
|
public virtual string EnglishName
|
|
{
|
|
[Token(Token = "0x6001C65")]
|
|
[Address(RVA = "0x3FA180", Offset = "0x3F8F80", VA = "0x1803FA180", Slot = "7")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a unique identification number for a geographical region, country, city, or location.</summary>
|
|
/// <returns>A 32-bit signed number that uniquely identifies a geographical location.</returns>
|
|
// Token: 0x170003CA RID: 970
|
|
// (get) Token: 0x06001C66 RID: 7270 RVA: 0x00012798 File Offset: 0x00010998
|
|
[Token(Token = "0x170003CA")]
|
|
[ComVisible(false)]
|
|
public virtual int GeoId
|
|
{
|
|
[Token(Token = "0x6001C66")]
|
|
[Address(RVA = "0x3FA560", Offset = "0x3F9360", VA = "0x1803FA560", Slot = "8")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a value indicating whether the country/region uses the metric system for measurements.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the country/region uses the metric system for measurements; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x170003CB RID: 971
|
|
// (get) Token: 0x06001C67 RID: 7271 RVA: 0x000127B0 File Offset: 0x000109B0
|
|
[Token(Token = "0x170003CB")]
|
|
public virtual bool IsMetric
|
|
{
|
|
[Token(Token = "0x6001C67")]
|
|
[Address(RVA = "0x2890F20", Offset = "0x288FD20", VA = "0x182890F20", Slot = "9")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the three-character ISO 4217 currency symbol associated with the country/region.</summary>
|
|
/// <returns>The three-character ISO 4217 currency symbol associated with the country/region.</returns>
|
|
// Token: 0x170003CC RID: 972
|
|
// (get) Token: 0x06001C68 RID: 7272 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170003CC")]
|
|
public virtual string ISOCurrencySymbol
|
|
{
|
|
[Token(Token = "0x6001C68")]
|
|
[Address(RVA = "0x3FA170", Offset = "0x3F8F70", VA = "0x1803FA170", Slot = "10")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the name of a country/region formatted in the native language of the country/region.</summary>
|
|
/// <returns>The native name of the country/region formatted in the language associated with the ISO 3166 country/region code.</returns>
|
|
// Token: 0x170003CD RID: 973
|
|
// (get) Token: 0x06001C69 RID: 7273 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170003CD")]
|
|
[ComVisible(false)]
|
|
public virtual string NativeName
|
|
{
|
|
[Token(Token = "0x6001C69")]
|
|
[Address(RVA = "0x3F63D0", Offset = "0x3F51D0", VA = "0x1803F63D0", Slot = "11")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the name of the currency used in the country/region, formatted in the native language of the country/region.</summary>
|
|
/// <returns>The native name of the currency used in the country/region, formatted in the language associated with the ISO 3166 country/region code.</returns>
|
|
// Token: 0x170003CE RID: 974
|
|
// (get) Token: 0x06001C6A RID: 7274 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170003CE")]
|
|
[ComVisible(false)]
|
|
public virtual string CurrencyNativeName
|
|
{
|
|
[Token(Token = "0x6001C6A")]
|
|
[Address(RVA = "0x423D40", Offset = "0x422B40", VA = "0x180423D40", Slot = "12")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the name or ISO 3166 two-letter country/region code for the current <see cref="T:System.Globalization.RegionInfo" /> object.</summary>
|
|
/// <returns>The value specified by the <paramref name="name" /> parameter of the <see cref="M:System.Globalization.RegionInfo.#ctor(System.String)" /> constructor. The return value is in uppercase.
|
|
/// -or-
|
|
/// The two-letter code defined in ISO 3166 for the country/region specified by the <paramref name="culture" /> parameter of the <see cref="M:System.Globalization.RegionInfo.#ctor(System.Int32)" /> constructor. The return value is in uppercase.</returns>
|
|
// Token: 0x170003CF RID: 975
|
|
// (get) Token: 0x06001C6B RID: 7275 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170003CF")]
|
|
public virtual string Name
|
|
{
|
|
[Token(Token = "0x6001C6B")]
|
|
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "13")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the three-letter code defined in ISO 3166 for the country/region.</summary>
|
|
/// <returns>The three-letter code defined in ISO 3166 for the country/region.</returns>
|
|
// Token: 0x170003D0 RID: 976
|
|
// (get) Token: 0x06001C6C RID: 7276 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170003D0")]
|
|
public virtual string ThreeLetterISORegionName
|
|
{
|
|
[Token(Token = "0x6001C6C")]
|
|
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400", Slot = "14")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the three-letter code assigned by Windows to the country/region represented by this <see cref="T:System.Globalization.RegionInfo" />.</summary>
|
|
/// <returns>The three-letter code assigned by Windows to the country/region represented by this <see cref="T:System.Globalization.RegionInfo" />.</returns>
|
|
// Token: 0x170003D1 RID: 977
|
|
// (get) Token: 0x06001C6D RID: 7277 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170003D1")]
|
|
public virtual string ThreeLetterWindowsRegionName
|
|
{
|
|
[Token(Token = "0x6001C6D")]
|
|
[Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0", Slot = "15")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the two-letter code defined in ISO 3166 for the country/region.</summary>
|
|
/// <returns>The two-letter code defined in ISO 3166 for the country/region.</returns>
|
|
// Token: 0x170003D2 RID: 978
|
|
// (get) Token: 0x06001C6E RID: 7278 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170003D2")]
|
|
public virtual string TwoLetterISORegionName
|
|
{
|
|
[Token(Token = "0x6001C6E")]
|
|
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "16")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Determines whether the specified object is the same instance as the current <see cref="T:System.Globalization.RegionInfo" />.</summary>
|
|
/// <param name="value">The object to compare with the current <see cref="T:System.Globalization.RegionInfo" />.</param>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the <paramref name="value" /> parameter is a <see cref="T:System.Globalization.RegionInfo" /> object and its <see cref="P:System.Globalization.RegionInfo.Name" /> property is the same as the <see cref="P:System.Globalization.RegionInfo.Name" /> property of the current <see cref="T:System.Globalization.RegionInfo" /> object; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x06001C6F RID: 7279 RVA: 0x000127C8 File Offset: 0x000109C8
|
|
[Token(Token = "0x6001C6F")]
|
|
[Address(RVA = "0x2890890", Offset = "0x288F690", VA = "0x182890890", Slot = "0")]
|
|
public override bool Equals(object value)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Serves as a hash function for the current <see cref="T:System.Globalization.RegionInfo" />, suitable for hashing algorithms and data structures, such as a hash table.</summary>
|
|
/// <returns>A hash code for the current <see cref="T:System.Globalization.RegionInfo" />.</returns>
|
|
// Token: 0x06001C70 RID: 7280 RVA: 0x000127E0 File Offset: 0x000109E0
|
|
[Token(Token = "0x6001C70")]
|
|
[Address(RVA = "0x2890A10", Offset = "0x288F810", VA = "0x182890A10", Slot = "2")]
|
|
public override int GetHashCode()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Returns a string containing the culture name or ISO 3166 two-letter country/region codes specified for the current <see cref="T:System.Globalization.RegionInfo" />.</summary>
|
|
/// <returns>A string containing the culture name or ISO 3166 two-letter country/region codes defined for the current <see cref="T:System.Globalization.RegionInfo" />.</returns>
|
|
// Token: 0x06001C71 RID: 7281 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6001C71")]
|
|
[Address(RVA = "0x51A220", Offset = "0x519020", VA = "0x18051A220", Slot = "3")]
|
|
public override string ToString()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06001C72 RID: 7282 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001C72")]
|
|
[Address(RVA = "0x2890850", Offset = "0x288F650", VA = "0x182890850")]
|
|
internal static void ClearCachedData()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04001045 RID: 4165
|
|
[Token(Token = "0x4001045")]
|
|
private static RegionInfo currentRegion;
|
|
|
|
// Token: 0x04001046 RID: 4166
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4001046")]
|
|
private int regionId;
|
|
|
|
// Token: 0x04001047 RID: 4167
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4001047")]
|
|
private string iso2Name;
|
|
|
|
// Token: 0x04001048 RID: 4168
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4001048")]
|
|
private string iso3Name;
|
|
|
|
// Token: 0x04001049 RID: 4169
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4001049")]
|
|
private string win3Name;
|
|
|
|
// Token: 0x0400104A RID: 4170
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x400104A")]
|
|
private string englishName;
|
|
|
|
// Token: 0x0400104B RID: 4171
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x400104B")]
|
|
private string nativeName;
|
|
|
|
// Token: 0x0400104C RID: 4172
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x400104C")]
|
|
private string currencySymbol;
|
|
|
|
// Token: 0x0400104D RID: 4173
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x400104D")]
|
|
private string isoCurrencySymbol;
|
|
|
|
// Token: 0x0400104E RID: 4174
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x400104E")]
|
|
private string currencyEnglishName;
|
|
|
|
// Token: 0x0400104F RID: 4175
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x400104F")]
|
|
private string currencyNativeName;
|
|
}
|
|
}
|