43 lines
1.7 KiB
C#
43 lines
1.7 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>The exception that is thrown for invalid casting or explicit conversion.</summary>
|
|
// Token: 0x02000117 RID: 279
|
|
[Token(Token = "0x2000117")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public class InvalidCastException : SystemException
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.InvalidCastException" /> class.</summary>
|
|
// Token: 0x06000A3E RID: 2622 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000A3E")]
|
|
[Address(RVA = "0x2D67E60", Offset = "0x2D66E60", VA = "0x182D67E60")]
|
|
public InvalidCastException()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.InvalidCastException" /> class with a specified error message.</summary>
|
|
/// <param name="message">The message that describes the error.</param>
|
|
// Token: 0x06000A3F RID: 2623 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000A3F")]
|
|
[Address(RVA = "0x2D67E30", Offset = "0x2D66E30", VA = "0x182D67E30")]
|
|
public InvalidCastException(string message)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.InvalidCastException" /> class with serialized data.</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: 0x06000A40 RID: 2624 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000A40")]
|
|
[Address(RVA = "0x7241B0", Offset = "0x7231B0", VA = "0x1807241B0")]
|
|
protected InvalidCastException(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
}
|
|
}
|