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: 0x02000156 RID: 342
|
|
[Token(Token = "0x2000156")]
|
|
[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: 0x06000E47 RID: 3655 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000E47")]
|
|
[Address(RVA = "0x3287B40", Offset = "0x3286940", VA = "0x183287B40")]
|
|
public UnhandledExceptionEventArgs(object exception, bool isTerminating)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the unhandled exception object.</summary>
|
|
/// <returns>The unhandled exception object.</returns>
|
|
// Token: 0x1700014F RID: 335
|
|
// (get) Token: 0x06000E48 RID: 3656 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x1700014F")]
|
|
public object ExceptionObject
|
|
{
|
|
[Token(Token = "0x6000E48")]
|
|
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
|
[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: 0x17000150 RID: 336
|
|
// (get) Token: 0x06000E49 RID: 3657 RVA: 0x0000C270 File Offset: 0x0000A470
|
|
[Token(Token = "0x17000150")]
|
|
public bool IsTerminating
|
|
{
|
|
[Token(Token = "0x6000E49")]
|
|
[Address(RVA = "0x42C2C0", Offset = "0x42B0C0", VA = "0x18042C2C0")]
|
|
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000579 RID: 1401
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000579")]
|
|
private object _Exception;
|
|
|
|
// Token: 0x0400057A RID: 1402
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400057A")]
|
|
private bool _IsTerminating;
|
|
}
|
|
}
|