using System; using System.ComponentModel; using System.Runtime.Serialization; using Cpp2IlInjected; namespace System.Net.Sockets { /// The exception that is thrown when a socket error occurs. // Token: 0x020002D5 RID: 725 [Token(Token = "0x20002D5")] [Serializable] public class SocketException : Win32Exception { // Token: 0x0600132E RID: 4910 RVA: 0x00008B08 File Offset: 0x00006D08 [Token(Token = "0x600132E")] [Address(RVA = "0x2626030", Offset = "0x2624E30", VA = "0x182626030")] private static int WSAGetLastError_internal() { return 0; } /// Initializes a new instance of the class with the last operating system error code. // Token: 0x0600132F RID: 4911 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600132F")] [Address(RVA = "0x26261F0", Offset = "0x2624FF0", VA = "0x1826261F0")] public SocketException() { } // Token: 0x06001330 RID: 4912 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001330")] [Address(RVA = "0x2626180", Offset = "0x2624F80", VA = "0x182626180")] internal SocketException(int error, string message) { } /// Initializes a new instance of the class with the specified error code. /// The error code that indicates the error that occurred. // Token: 0x06001331 RID: 4913 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001331")] [Address(RVA = "0x2626040", Offset = "0x2624E40", VA = "0x182626040")] public SocketException(int errorCode) { } // Token: 0x06001332 RID: 4914 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001332")] [Address(RVA = "0x26260A0", Offset = "0x2624EA0", VA = "0x1826260A0")] internal SocketException(SocketError socketError) { } /// Initializes a new instance of the class from the specified instances of the and classes. /// A instance that contains the information that is required to serialize the new instance. /// A that contains the source of the serialized stream that is associated with the new instance. // Token: 0x06001333 RID: 4915 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001333")] [Address(RVA = "0x2626100", Offset = "0x2624F00", VA = "0x182626100")] protected SocketException(SerializationInfo serializationInfo, StreamingContext streamingContext) { } /// Gets the error code that is associated with this exception. /// An integer error code that is associated with this exception. // Token: 0x170003E8 RID: 1000 // (get) Token: 0x06001334 RID: 4916 RVA: 0x00008B20 File Offset: 0x00006D20 [Token(Token = "0x170003E8")] public override int ErrorCode { [Token(Token = "0x6001334")] [Address(RVA = "0x404240", Offset = "0x403040", VA = "0x180404240", Slot = "12")] get { return 0; } } /// Gets the error message that is associated with this exception. /// A string that contains the error message. // Token: 0x170003E9 RID: 1001 // (get) Token: 0x06001335 RID: 4917 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170003E9")] public override string Message { [Token(Token = "0x6001335")] [Address(RVA = "0x2626260", Offset = "0x2625060", VA = "0x182626260", Slot = "5")] get { return null; } } /// Gets the error code that is associated with this exception. /// An integer error code that is associated with this exception. // Token: 0x170003EA RID: 1002 // (get) Token: 0x06001336 RID: 4918 RVA: 0x00008B38 File Offset: 0x00006D38 [Token(Token = "0x170003EA")] public SocketError SocketErrorCode { [Token(Token = "0x6001336")] [Address(RVA = "0x404240", Offset = "0x403040", VA = "0x180404240")] get { return SocketError.Success; } } // Token: 0x04000B76 RID: 2934 [FieldOffset(Offset = "0x90")] [Token(Token = "0x4000B76")] [NonSerialized] private EndPoint m_EndPoint; } }