This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
+114
View File
@@ -0,0 +1,114 @@
using System;
using System.ComponentModel;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Net.Sockets
{
/// <summary>The exception that is thrown when a socket error occurs.</summary>
// 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;
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Sockets.SocketException" /> class with the last operating system error code.</summary>
// 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)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Sockets.SocketException" /> class with the specified error code.</summary>
/// <param name="errorCode">The error code that indicates the error that occurred.</param>
// 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)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Sockets.SocketException" /> class from the specified instances of the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> and <see cref="T:System.Runtime.Serialization.StreamingContext" /> classes.</summary>
/// <param name="serializationInfo">A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> instance that contains the information that is required to serialize the new <see cref="T:System.Net.Sockets.SocketException" /> instance.</param>
/// <param name="streamingContext">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains the source of the serialized stream that is associated with the new <see cref="T:System.Net.Sockets.SocketException" /> instance.</param>
// 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)
{
}
/// <summary>Gets the error code that is associated with this exception.</summary>
/// <returns>An integer error code that is associated with this exception.</returns>
// 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;
}
}
/// <summary>Gets the error message that is associated with this exception.</summary>
/// <returns>A string that contains the error message.</returns>
// 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;
}
}
/// <summary>Gets the error code that is associated with this exception.</summary>
/// <returns>An integer error code that is associated with this exception.</returns>
// 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;
}
}