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: 0x020002D1 RID: 721 [Token(Token = "0x20002D1")] [Serializable] public class SocketException : Win32Exception { // Token: 0x06001318 RID: 4888 RVA: 0x00008AF0 File Offset: 0x00006CF0 [Token(Token = "0x6001318")] [Address(RVA = "0xAE1310", Offset = "0xAE0310", VA = "0x180AE1310")] private static int WSAGetLastError_internal() { return 0; } /// Initializes a new instance of the class with the last operating system error code. // Token: 0x06001319 RID: 4889 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001319")] [Address(RVA = "0xAE14D0", Offset = "0xAE04D0", VA = "0x180AE14D0")] public SocketException() { } // Token: 0x0600131A RID: 4890 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600131A")] [Address(RVA = "0xAE1460", Offset = "0xAE0460", VA = "0x180AE1460")] 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: 0x0600131B RID: 4891 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600131B")] [Address(RVA = "0xAE1320", Offset = "0xAE0320", VA = "0x180AE1320")] public SocketException(int errorCode) { } // Token: 0x0600131C RID: 4892 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600131C")] [Address(RVA = "0xAE1380", Offset = "0xAE0380", VA = "0x180AE1380")] 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: 0x0600131D RID: 4893 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600131D")] [Address(RVA = "0xAE13E0", Offset = "0xAE03E0", VA = "0x180AE13E0")] 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: 0x170003E4 RID: 996 // (get) Token: 0x0600131E RID: 4894 RVA: 0x00008B08 File Offset: 0x00006D08 [Token(Token = "0x170003E4")] public override int ErrorCode { [Token(Token = "0x600131E")] [Address(RVA = "0x4F3F50", Offset = "0x4F2F50", VA = "0x1804F3F50", Slot = "12")] get { return 0; } } /// Gets the error message that is associated with this exception. /// A string that contains the error message. // Token: 0x170003E5 RID: 997 // (get) Token: 0x0600131F RID: 4895 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170003E5")] public override string Message { [Token(Token = "0x600131F")] [Address(RVA = "0xAE1540", Offset = "0xAE0540", VA = "0x180AE1540", 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: 0x170003E6 RID: 998 // (get) Token: 0x06001320 RID: 4896 RVA: 0x00008B20 File Offset: 0x00006D20 [Token(Token = "0x170003E6")] public SocketError SocketErrorCode { [Token(Token = "0x6001320")] [Address(RVA = "0x4F3F50", Offset = "0x4F2F50", VA = "0x1804F3F50")] get { return SocketError.Success; } } // Token: 0x04000B69 RID: 2921 [FieldOffset(Offset = "0x90")] [Token(Token = "0x4000B69")] [NonSerialized] private EndPoint m_EndPoint; } }