70 lines
2.5 KiB
C#
70 lines
2.5 KiB
C#
using System;
|
|
using System.Runtime.ConstrainedExecution;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>Provides data for the event that is raised when there is an exception that is not handled in any application domain.</summary>
|
|
// Token: 0x0200015D RID: 349
|
|
[Token(Token = "0x200015D")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public class UnhandledExceptionEventArgs : EventArgs
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.UnhandledExceptionEventArgs" /> class with the exception object and a common language runtime termination flag.</summary>
|
|
/// <param name="exception">The exception that is not handled.</param>
|
|
/// <param name="isTerminating">
|
|
/// <see langword="true" /> if the runtime is terminating; otherwise, <see langword="false" />.</param>
|
|
// Token: 0x06000E7B RID: 3707 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000E7B")]
|
|
[Address(RVA = "0x3BB8120", Offset = "0x3BB7120", VA = "0x183BB8120")]
|
|
public UnhandledExceptionEventArgs(object exception, bool isTerminating)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the unhandled exception object.</summary>
|
|
/// <returns>The unhandled exception object.</returns>
|
|
// Token: 0x17000154 RID: 340
|
|
// (get) Token: 0x06000E7C RID: 3708 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000154")]
|
|
public object ExceptionObject
|
|
{
|
|
[Token(Token = "0x6000E7C")]
|
|
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
|
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Indicates whether the common language runtime is terminating.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the runtime is terminating; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x17000155 RID: 341
|
|
// (get) Token: 0x06000E7D RID: 3709 RVA: 0x0000C558 File Offset: 0x0000A758
|
|
[Token(Token = "0x17000155")]
|
|
public bool IsTerminating
|
|
{
|
|
[Token(Token = "0x6000E7D")]
|
|
[Address(RVA = "0x497570", Offset = "0x496570", VA = "0x180497570")]
|
|
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000583 RID: 1411
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000583")]
|
|
private object _Exception;
|
|
|
|
// Token: 0x04000584 RID: 1412
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000584")]
|
|
private bool _IsTerminating;
|
|
}
|
|
}
|