Files
2026-04-10 22:50:51 +02:00

176 lines
8.3 KiB
C#

using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System
{
/// <summary>A platform-specific type that is used to represent a pointer or a handle.</summary>
// Token: 0x020001AC RID: 428
[Token(Token = "0x20001AC")]
[CLSCompliant(false)]
[ComVisible(true)]
[Serializable]
public struct UIntPtr : ISerializable
{
/// <summary>Initializes a new instance of <see cref="T:System.UIntPtr" /> using the specified 64-bit pointer or handle.</summary>
/// <param name="value">A pointer or handle contained in a 64-bit unsigned integer.</param>
/// <exception cref="T:System.OverflowException">On a 32-bit platform, <paramref name="value" /> is too large to represent as an <see cref="T:System.UIntPtr" />.</exception>
// Token: 0x060010A1 RID: 4257 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60010A1")]
[Address(RVA = "0x3287910", Offset = "0x3286710", VA = "0x183287910")]
public UIntPtr(ulong value)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.UIntPtr" /> structure using the specified 32-bit pointer or handle.</summary>
/// <param name="value">A pointer or handle contained in a 32-bit unsigned integer.</param>
// Token: 0x060010A2 RID: 4258 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60010A2")]
[Address(RVA = "0x3287980", Offset = "0x3286780", VA = "0x183287980")]
public UIntPtr(uint value)
{
}
/// <summary>Initializes a new instance of <see cref="T:System.UIntPtr" /> using the specified pointer to an unspecified type.</summary>
/// <param name="value">A pointer to an unspecified type.</param>
// Token: 0x060010A3 RID: 4259 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60010A3")]
[Address(RVA = "0x461A30", Offset = "0x460830", VA = "0x180461A30")]
[CLSCompliant(false)]
public unsafe UIntPtr(void* value)
{
}
/// <summary>Returns a value indicating whether this instance is equal to a specified object.</summary>
/// <param name="obj">An object to compare with this instance or <see langword="null" />.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="obj" /> is an instance of <see cref="T:System.UIntPtr" /> and equals the value of this instance; otherwise, <see langword="false" />.</returns>
// Token: 0x060010A4 RID: 4260 RVA: 0x0000D1E8 File Offset: 0x0000B3E8
[Token(Token = "0x60010A4")]
[Address(RVA = "0x3287760", Offset = "0x3286560", VA = "0x183287760", Slot = "0")]
public override bool Equals(object obj)
{
return default(bool);
}
/// <summary>Returns the hash code for this instance.</summary>
/// <returns>A 32-bit signed integer hash code.</returns>
// Token: 0x060010A5 RID: 4261 RVA: 0x0000D200 File Offset: 0x0000B400
[Token(Token = "0x60010A5")]
[Address(RVA = "0x57C620", Offset = "0x57B420", VA = "0x18057C620", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// <summary>Converts the numeric value of this instance to its equivalent string representation.</summary>
/// <returns>The string representation of the value of this instance.</returns>
// Token: 0x060010A6 RID: 4262 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60010A6")]
[Address(RVA = "0x3287870", Offset = "0x3286670", VA = "0x183287870", Slot = "3")]
public override string ToString()
{
return null;
}
/// <summary>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object with the data needed to serialize the current <see cref="T:System.UIntPtr" /> object.</summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object to populate with data.</param>
/// <param name="context">The destination for this serialization. (This parameter is not used; specify <see langword="null" />.)</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="info" /> is <see langword="null" />.</exception>
// Token: 0x060010A7 RID: 4263 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60010A7")]
[Address(RVA = "0x32877F0", Offset = "0x32865F0", VA = "0x1832877F0", Slot = "4")]
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
{
}
/// <summary>Determines whether two specified instances of <see cref="T:System.UIntPtr" /> are equal.</summary>
/// <param name="value1">The first pointer or handle to compare.</param>
/// <param name="value2">The second pointer or handle to compare.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="value1" /> equals <paramref name="value2" />; otherwise, <see langword="false" />.</returns>
// Token: 0x060010A8 RID: 4264 RVA: 0x0000D218 File Offset: 0x0000B418
[Token(Token = "0x60010A8")]
[Address(RVA = "0x4C3A20", Offset = "0x4C2820", VA = "0x1804C3A20")]
public static bool operator ==(UIntPtr value1, UIntPtr value2)
{
return default(bool);
}
/// <summary>Converts the value of the specified <see cref="T:System.UIntPtr" /> to a 64-bit unsigned integer.</summary>
/// <param name="value">The pointer or handle to convert.</param>
/// <returns>The contents of <paramref name="value" />.</returns>
// Token: 0x060010A9 RID: 4265 RVA: 0x0000D230 File Offset: 0x0000B430
[Token(Token = "0x60010A9")]
[Address(RVA = "0x434BD0", Offset = "0x4339D0", VA = "0x180434BD0")]
public static explicit operator ulong(UIntPtr value)
{
return 0UL;
}
/// <summary>Converts the value of the specified <see cref="T:System.UIntPtr" /> to a 32-bit unsigned integer.</summary>
/// <param name="value">The pointer or handle to convert.</param>
/// <returns>The contents of <paramref name="value" />.</returns>
/// <exception cref="T:System.OverflowException">On a 64-bit platform, the value of <paramref name="value" /> is too large to represent as a 32-bit unsigned integer.</exception>
// Token: 0x060010AA RID: 4266 RVA: 0x0000D248 File Offset: 0x0000B448
[Token(Token = "0x60010AA")]
[Address(RVA = "0x8DB900", Offset = "0x8DA700", VA = "0x1808DB900")]
public static explicit operator uint(UIntPtr value)
{
return 0U;
}
/// <summary>Converts the value of a 64-bit unsigned integer to an <see cref="T:System.UIntPtr" />.</summary>
/// <param name="value">A 64-bit unsigned integer.</param>
/// <returns>A new instance of <see cref="T:System.UIntPtr" /> initialized to <paramref name="value" />.</returns>
/// <exception cref="T:System.OverflowException">On a 32-bit platform, <paramref name="value" /> is too large to represent as an <see cref="T:System.UIntPtr" />.</exception>
// Token: 0x060010AB RID: 4267 RVA: 0x0000D260 File Offset: 0x0000B460
[Token(Token = "0x60010AB")]
[Address(RVA = "0x3287990", Offset = "0x3286790", VA = "0x183287990")]
public static explicit operator UIntPtr(ulong value)
{
return 0;
}
/// <summary>Converts the specified pointer to an unspecified type to an <see cref="T:System.UIntPtr" />.
/// This API is not CLS-compliant.</summary>
/// <param name="value">A pointer to an unspecified type.</param>
/// <returns>A new instance of <see cref="T:System.UIntPtr" /> initialized to <paramref name="value" />.</returns>
// Token: 0x060010AC RID: 4268 RVA: 0x0000D278 File Offset: 0x0000B478
[Token(Token = "0x60010AC")]
[Address(RVA = "0x434BD0", Offset = "0x4339D0", VA = "0x180434BD0")]
[CLSCompliant(false)]
public unsafe static explicit operator UIntPtr(void* value)
{
return 0;
}
/// <summary>Gets the size of this instance.</summary>
/// <returns>The size of a pointer or handle on this platform, measured in bytes. The value of this property is 4 on a 32-bit platform, and 8 on a 64-bit platform.</returns>
// Token: 0x17000193 RID: 403
// (get) Token: 0x060010AD RID: 4269 RVA: 0x0000D290 File Offset: 0x0000B490
[Token(Token = "0x17000193")]
public static int Size
{
[Token(Token = "0x60010AD")]
[Address(RVA = "0x4101D0", Offset = "0x40EFD0", VA = "0x1804101D0")]
get
{
return 0;
}
}
/// <summary>A read-only field that represents a pointer or handle that has been initialized to zero.</summary>
// Token: 0x04000894 RID: 2196
[Token(Token = "0x4000894")]
public static readonly UIntPtr Zero;
// Token: 0x04000895 RID: 2197
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000895")]
private unsafe void* _pointer;
}
}