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: 0x020001AD RID: 429 [Token(Token = "0x20001AD")] [Serializable] public class Win32Exception : ExternalException, ISerializable { /// Initializes a new instance of the class with the last Win32 error that occurred. // Token: 0x06000BC3 RID: 3011 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BC3")] [Address(RVA = "0x28B31A0", Offset = "0x28B1FA0", VA = "0x1828B31A0")] public Win32Exception() { } /// Initializes a new instance of the class with the specified error. /// The Win32 error code associated with this exception. // Token: 0x06000BC4 RID: 3012 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BC4")] [Address(RVA = "0x28B3100", Offset = "0x28B1F00", VA = "0x1828B3100")] 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: 0x06000BC5 RID: 3013 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BC5")] [Address(RVA = "0x28B3170", Offset = "0x28B1F70", VA = "0x1828B3170")] 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: 0x06000BC6 RID: 3014 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BC6")] [Address(RVA = "0x28B3080", Offset = "0x28B1E80", VA = "0x1828B3080")] 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: 0x06000BC7 RID: 3015 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BC7")] [Address(RVA = "0x28B3290", Offset = "0x28B2090", VA = "0x1828B3290")] 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: 0x06000BC8 RID: 3016 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BC8")] [Address(RVA = "0x28B3200", Offset = "0x28B2000", VA = "0x1828B3200")] protected Win32Exception(SerializationInfo info, StreamingContext context) { } /// Gets the Win32 error code associated with this exception. /// The Win32 error code associated with this exception. // Token: 0x17000228 RID: 552 // (get) Token: 0x06000BC9 RID: 3017 RVA: 0x00006630 File Offset: 0x00004830 [Token(Token = "0x17000228")] public int NativeErrorCode { [Token(Token = "0x6000BC9")] [Address(RVA = "0x404240", Offset = "0x403040", VA = "0x180404240")] 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: 0x06000BCA RID: 3018 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BCA")] [Address(RVA = "0x28B1BA0", Offset = "0x28B09A0", VA = "0x1828B1BA0", Slot = "10")] public override void GetObjectData(SerializationInfo info, StreamingContext context) { } // Token: 0x06000BCB RID: 3019 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000BCB")] [Address(RVA = "0x28B1A90", Offset = "0x28B0890", VA = "0x1828B1A90")] internal static string GetErrorMessage(int error) { return null; } // Token: 0x06000BCC RID: 3020 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000BCC")] [Address(RVA = "0x28B1C50", Offset = "0x28B0A50", VA = "0x1828B1C50")] private static void InitializeErrorMessages() { } // Token: 0x0400062B RID: 1579 [global::Cpp2IlInjected.FieldOffset(Offset = "0x88")] [Token(Token = "0x400062B")] private readonly int nativeErrorCode; // Token: 0x0400062C RID: 1580 [Token(Token = "0x400062C")] private static bool s_ErrorMessagesInitialized; // Token: 0x0400062D RID: 1581 [Token(Token = "0x400062D")] private static Dictionary s_ErrorMessage; } }