using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Runtime.Serialization; using Cpp2IlInjected; namespace System.ComponentModel { /// Throws an exception for a Win32 error code. // Token: 0x020001A9 RID: 425 [Token(Token = "0x20001A9")] [Serializable] public class Win32Exception : ExternalException, ISerializable { /// Initializes a new instance of the class with the last Win32 error that occurred. // Token: 0x06000BAD RID: 2989 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BAD")] [Address(RVA = "0x2F4DC50", Offset = "0x2F4CC50", VA = "0x182F4DC50")] public Win32Exception() { } /// Initializes a new instance of the class with the specified error. /// The Win32 error code associated with this exception. // Token: 0x06000BAE RID: 2990 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BAE")] [Address(RVA = "0x2F4DBB0", Offset = "0x2F4CBB0", VA = "0x182F4DBB0")] public Win32Exception(int error) { } /// Initializes a new instance of the class with the specified error and the specified detailed description. /// The Win32 error code associated with this exception. /// A detailed description of the error. // Token: 0x06000BAF RID: 2991 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BAF")] [Address(RVA = "0x2F4DC20", Offset = "0x2F4CC20", VA = "0x182F4DC20")] public Win32Exception(int error, string message) { } /// Initializes a new instance of the class with the specified detailed description. /// A detailed description of the error. // Token: 0x06000BB0 RID: 2992 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BB0")] [Address(RVA = "0x2F4DB30", Offset = "0x2F4CB30", VA = "0x182F4DB30")] public Win32Exception(string message) { } /// Initializes a new instance of the class with the specified detailed description and the specified exception. /// A detailed description of the error. /// A reference to the inner exception that is the cause of this exception. // Token: 0x06000BB1 RID: 2993 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BB1")] [Address(RVA = "0x2F4DD40", Offset = "0x2F4CD40", VA = "0x182F4DD40")] public Win32Exception(string message, Exception innerException) { } /// Initializes a new instance of the class with the specified context and the serialization information. /// The associated with this exception. /// A that represents the context of this exception. // Token: 0x06000BB2 RID: 2994 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BB2")] [Address(RVA = "0x2F4DCB0", Offset = "0x2F4CCB0", VA = "0x182F4DCB0")] protected Win32Exception(SerializationInfo info, StreamingContext context) { } /// Gets the Win32 error code associated with this exception. /// The Win32 error code associated with this exception. // Token: 0x17000224 RID: 548 // (get) Token: 0x06000BB3 RID: 2995 RVA: 0x00006618 File Offset: 0x00004818 [Token(Token = "0x17000224")] public int NativeErrorCode { [Token(Token = "0x6000BB3")] [Address(RVA = "0x4F3F50", Offset = "0x4F2F50", VA = "0x1804F3F50")] get { return 0; } } /// Sets the object with the file name and line number at which this occurred. /// A . /// The contextual information about the source or destination. /// /// is . // Token: 0x06000BB4 RID: 2996 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BB4")] [Address(RVA = "0x2F4C650", Offset = "0x2F4B650", VA = "0x182F4C650", Slot = "10")] public override void GetObjectData(SerializationInfo info, StreamingContext context) { } // Token: 0x06000BB5 RID: 2997 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000BB5")] [Address(RVA = "0x2F4C540", Offset = "0x2F4B540", VA = "0x182F4C540")] internal static string GetErrorMessage(int error) { return null; } // Token: 0x06000BB6 RID: 2998 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BB6")] [Address(RVA = "0x2F4C700", Offset = "0x2F4B700", VA = "0x182F4C700")] private static void InitializeErrorMessages() { } // Token: 0x0400061E RID: 1566 [global::Cpp2IlInjected.FieldOffset(Offset = "0x88")] [Token(Token = "0x400061E")] private readonly int nativeErrorCode; // Token: 0x0400061F RID: 1567 [Token(Token = "0x400061F")] private static bool s_ErrorMessagesInitialized; // Token: 0x04000620 RID: 1568 [Token(Token = "0x4000620")] private static Dictionary s_ErrorMessage; } }