m
This commit is contained in:
@@ -0,0 +1,152 @@
|
||||
using System;
|
||||
using System.Net.Sockets;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Net
|
||||
{
|
||||
/// <summary>Stores serialized information from <see cref="T:System.Net.EndPoint" /> derived classes.</summary>
|
||||
// Token: 0x02000234 RID: 564
|
||||
[Token(Token = "0x2000234")]
|
||||
public class SocketAddress
|
||||
{
|
||||
/// <summary>Gets the <see cref="T:System.Net.Sockets.AddressFamily" /> enumerated value of the current <see cref="T:System.Net.SocketAddress" />.</summary>
|
||||
/// <returns>One of the <see cref="T:System.Net.Sockets.AddressFamily" /> enumerated values.</returns>
|
||||
// Token: 0x170002A0 RID: 672
|
||||
// (get) Token: 0x06000E23 RID: 3619 RVA: 0x000071A0 File Offset: 0x000053A0
|
||||
[Token(Token = "0x170002A0")]
|
||||
public AddressFamily Family
|
||||
{
|
||||
[Token(Token = "0x6000E23")]
|
||||
[Address(RVA = "0xAE0CD0", Offset = "0xADFCD0", VA = "0x180AE0CD0")]
|
||||
get
|
||||
{
|
||||
return AddressFamily.Unspecified;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the underlying buffer size of the <see cref="T:System.Net.SocketAddress" />.</summary>
|
||||
/// <returns>The underlying buffer size of the <see cref="T:System.Net.SocketAddress" />.</returns>
|
||||
// Token: 0x170002A1 RID: 673
|
||||
// (get) Token: 0x06000E24 RID: 3620 RVA: 0x000071B8 File Offset: 0x000053B8
|
||||
[Token(Token = "0x170002A1")]
|
||||
public int Size
|
||||
{
|
||||
[Token(Token = "0x6000E24")]
|
||||
[Address(RVA = "0x40F000", Offset = "0x40E000", VA = "0x18040F000")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the specified index element in the underlying buffer.</summary>
|
||||
/// <param name="offset">The array index element of the desired information.</param>
|
||||
/// <returns>The value of the specified index element in the underlying buffer.</returns>
|
||||
/// <exception cref="T:System.IndexOutOfRangeException">The specified index does not exist in the buffer.</exception>
|
||||
// Token: 0x170002A2 RID: 674
|
||||
[Token(Token = "0x170002A2")]
|
||||
public byte this[int offset]
|
||||
{
|
||||
[Token(Token = "0x6000E25")]
|
||||
[Address(RVA = "0xAE0D30", Offset = "0xADFD30", VA = "0x180AE0D30")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Creates a new instance of the <see cref="T:System.Net.SocketAddress" /> class using the specified address family and buffer size.</summary>
|
||||
/// <param name="family">An <see cref="T:System.Net.Sockets.AddressFamily" /> enumerated value.</param>
|
||||
/// <param name="size">The number of bytes to allocate for the underlying buffer.</param>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="size" /> is less than 2. These 2 bytes are needed to store <paramref name="family" />.</exception>
|
||||
// Token: 0x06000E26 RID: 3622 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000E26")]
|
||||
[Address(RVA = "0xAE0790", Offset = "0xADF790", VA = "0x180AE0790")]
|
||||
public SocketAddress(AddressFamily family, int size)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000E27 RID: 3623 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000E27")]
|
||||
[Address(RVA = "0xAE08A0", Offset = "0xADF8A0", VA = "0x180AE08A0")]
|
||||
internal SocketAddress(IPAddress ipAddress)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000E28 RID: 3624 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000E28")]
|
||||
[Address(RVA = "0xAE0710", Offset = "0xADF710", VA = "0x180AE0710")]
|
||||
internal SocketAddress(IPAddress ipaddress, int port)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000E29 RID: 3625 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000E29")]
|
||||
[Address(RVA = "0xADFFB0", Offset = "0xADEFB0", VA = "0x180ADFFB0")]
|
||||
internal IPAddress GetIPAddress()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06000E2A RID: 3626 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000E2A")]
|
||||
[Address(RVA = "0xAE0280", Offset = "0xADF280", VA = "0x180AE0280")]
|
||||
internal IPEndPoint GetIPEndPoint()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Determines whether the specified <see langword="Object" /> is equal to the current <see langword="Object" />.</summary>
|
||||
/// <param name="comparand">The <see cref="T:System.Object" /> to compare with the current <see langword="Object" />.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the specified <see langword="Object" /> is equal to the current <see langword="Object" />; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x06000E2B RID: 3627 RVA: 0x000071E8 File Offset: 0x000053E8
|
||||
[Token(Token = "0x6000E2B")]
|
||||
[Address(RVA = "0xADFD30", Offset = "0xADED30", VA = "0x180ADFD30", Slot = "0")]
|
||||
public override bool Equals(object comparand)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.</summary>
|
||||
/// <returns>A hash code for the current <see cref="T:System.Object" />.</returns>
|
||||
// Token: 0x06000E2C RID: 3628 RVA: 0x00007200 File Offset: 0x00005400
|
||||
[Token(Token = "0x6000E2C")]
|
||||
[Address(RVA = "0xADFE10", Offset = "0xADEE10", VA = "0x180ADFE10", Slot = "2")]
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Returns information about the socket address.</summary>
|
||||
/// <returns>A string that contains information about the <see cref="T:System.Net.SocketAddress" />.</returns>
|
||||
// Token: 0x06000E2D RID: 3629 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000E2D")]
|
||||
[Address(RVA = "0xAE0340", Offset = "0xADF340", VA = "0x180AE0340", Slot = "3")]
|
||||
public override string ToString()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0400082F RID: 2095
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400082F")]
|
||||
internal int m_Size;
|
||||
|
||||
// Token: 0x04000830 RID: 2096
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4000830")]
|
||||
internal byte[] m_Buffer;
|
||||
|
||||
// Token: 0x04000831 RID: 2097
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4000831")]
|
||||
private bool m_changed;
|
||||
|
||||
// Token: 0x04000832 RID: 2098
|
||||
[FieldOffset(Offset = "0x24")]
|
||||
[Token(Token = "0x4000832")]
|
||||
private int m_hash;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user