57 lines
3.0 KiB
C#
57 lines
3.0 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Runtime.Serialization
|
|
{
|
|
/// <summary>The exception thrown when an error occurs during serialization or deserialization.</summary>
|
|
// Token: 0x02000459 RID: 1113
|
|
[Token(Token = "0x2000459")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public class SerializationException : SystemException
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.SerializationException" /> class with default properties.</summary>
|
|
// Token: 0x06002518 RID: 9496 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002518")]
|
|
[Address(RVA = "0x299D9E0", Offset = "0x299C7E0", VA = "0x18299D9E0")]
|
|
public SerializationException()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.SerializationException" /> class with a specified message.</summary>
|
|
/// <param name="message">Indicates the reason why the exception occurred.</param>
|
|
// Token: 0x06002519 RID: 9497 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002519")]
|
|
[Address(RVA = "0x299D9B0", Offset = "0x299C7B0", VA = "0x18299D9B0")]
|
|
public SerializationException(string message)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.SerializationException" /> class with a specified error message and a reference to the inner exception that is the cause of this exception.</summary>
|
|
/// <param name="message">The error message that explains the reason for the exception.</param>
|
|
/// <param name="innerException">The exception that is the cause of the current exception. If the <paramref name="innerException" /> parameter is not <see langword="null" />, the current exception is raised in a <see langword="catch" /> block that handles the inner exception.</param>
|
|
// Token: 0x0600251A RID: 9498 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600251A")]
|
|
[Address(RVA = "0x299DA60", Offset = "0x299C860", VA = "0x18299DA60")]
|
|
public SerializationException(string message, Exception innerException)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.SerializationException" /> class from serialized data.</summary>
|
|
/// <param name="info">The serialization information object holding the serialized object data in the name-value form.</param>
|
|
/// <param name="context">The contextual information about the source or destination of the exception.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is <see langword="null" />.</exception>
|
|
// Token: 0x0600251B RID: 9499 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600251B")]
|
|
[Address(RVA = "0x3F60E0", Offset = "0x3F4EE0", VA = "0x1803F60E0")]
|
|
protected SerializationException(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
// Token: 0x040014CF RID: 5327
|
|
[Token(Token = "0x40014CF")]
|
|
private static string _nullMessage;
|
|
}
|
|
}
|