148 lines
6.0 KiB
C#
148 lines
6.0 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Globalization
|
|
{
|
|
/// <summary>The exception that is thrown when a method attempts to construct a culture that is not available.</summary>
|
|
// Token: 0x020002D7 RID: 727
|
|
[Token(Token = "0x20002D7")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public class CultureNotFoundException : ArgumentException, ISerializable
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Globalization.CultureNotFoundException" /> class with its message string set to a system-supplied message.</summary>
|
|
// Token: 0x06001B19 RID: 6937 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001B19")]
|
|
[Address(RVA = "0xD45A10", Offset = "0xD44A10", VA = "0x180D45A10")]
|
|
public CultureNotFoundException()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Globalization.CultureNotFoundException" /> class with a specified error message and the name of the parameter that is the cause this exception.</summary>
|
|
/// <param name="paramName">The name of the parameter that is the cause of the current exception.</param>
|
|
/// <param name="message">The error message to display with this exception.</param>
|
|
// Token: 0x06001B1A RID: 6938 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001B1A")]
|
|
[Address(RVA = "0xD45BB0", Offset = "0xD44BB0", VA = "0x180D45BB0")]
|
|
public CultureNotFoundException(string paramName, string message)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Globalization.CultureNotFoundException" /> class with a specified error message, the invalid Culture Name, and the name of the parameter that is the cause this exception.</summary>
|
|
/// <param name="paramName">The name of the parameter that is the cause the current exception.</param>
|
|
/// <param name="invalidCultureName">The Culture Name that cannot be found.</param>
|
|
/// <param name="message">The error message to display with this exception.</param>
|
|
// Token: 0x06001B1B RID: 6939 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001B1B")]
|
|
[Address(RVA = "0xD459D0", Offset = "0xD449D0", VA = "0x180D459D0")]
|
|
public CultureNotFoundException(string paramName, string invalidCultureName, string message)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Globalization.CultureNotFoundException" /> class using the specified serialization data and context.</summary>
|
|
/// <param name="info">The object that holds the serialized object data.</param>
|
|
/// <param name="context">The contextual information about the source or destination.</param>
|
|
// Token: 0x06001B1C RID: 6940 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001B1C")]
|
|
[Address(RVA = "0xD45A60", Offset = "0xD44A60", VA = "0x180D45A60")]
|
|
protected CultureNotFoundException(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
/// <summary>Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object with the parameter name and additional exception information.</summary>
|
|
/// <param name="info">The object that holds the serialized object data.</param>
|
|
/// <param name="context">The contextual information about the source or destination.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="info" /> is <see langword="null" />.</exception>
|
|
// Token: 0x06001B1D RID: 6941 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001B1D")]
|
|
[Address(RVA = "0xD45880", Offset = "0xD44880", VA = "0x180D45880", Slot = "10")]
|
|
public override void GetObjectData(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the culture identifier that cannot be found.</summary>
|
|
/// <returns>The invalid culture identifier.</returns>
|
|
// Token: 0x17000345 RID: 837
|
|
// (get) Token: 0x06001B1E RID: 6942 RVA: 0x00012210 File Offset: 0x00010410
|
|
[Token(Token = "0x17000345")]
|
|
public virtual int? InvalidCultureId
|
|
{
|
|
[Token(Token = "0x6001B1E")]
|
|
[Address(RVA = "0x56D550", Offset = "0x56C550", VA = "0x18056D550", Slot = "12")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the culture name that cannot be found.</summary>
|
|
/// <returns>The invalid culture name.</returns>
|
|
// Token: 0x17000346 RID: 838
|
|
// (get) Token: 0x06001B1F RID: 6943 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000346")]
|
|
public virtual string InvalidCultureName
|
|
{
|
|
[Token(Token = "0x6001B1F")]
|
|
[Address(RVA = "0x54F060", Offset = "0x54E060", VA = "0x18054F060", Slot = "13")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000347 RID: 839
|
|
// (get) Token: 0x06001B20 RID: 6944 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000347")]
|
|
private static string DefaultMessage
|
|
{
|
|
[Token(Token = "0x6001B20")]
|
|
[Address(RVA = "0xD45BD0", Offset = "0xD44BD0", VA = "0x180D45BD0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000348 RID: 840
|
|
// (get) Token: 0x06001B21 RID: 6945 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000348")]
|
|
private string FormatedInvalidCultureId
|
|
{
|
|
[Token(Token = "0x6001B21")]
|
|
[Address(RVA = "0xD45C10", Offset = "0xD44C10", VA = "0x180D45C10")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the error message that explains the reason for the exception.</summary>
|
|
/// <returns>A text string describing the details of the exception.</returns>
|
|
// Token: 0x17000349 RID: 841
|
|
// (get) Token: 0x06001B22 RID: 6946 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000349")]
|
|
public override string Message
|
|
{
|
|
[Token(Token = "0x6001B22")]
|
|
[Address(RVA = "0xD45D10", Offset = "0xD44D10", VA = "0x180D45D10", Slot = "5")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000E85 RID: 3717
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x4000E85")]
|
|
private string m_invalidCultureName;
|
|
|
|
// Token: 0x04000E86 RID: 3718
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x98")]
|
|
[Token(Token = "0x4000E86")]
|
|
private int? m_invalidCultureId;
|
|
}
|
|
}
|