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
+284
View File
@@ -0,0 +1,284 @@
using System;
using System.Runtime.ConstrainedExecution;
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: 0x02000184 RID: 388
[Token(Token = "0x2000184")]
[ComVisible(true)]
[Serializable]
public struct IntPtr : ISerializable
{
/// <summary>Initializes a new instance of <see cref="T:System.IntPtr" /> using the specified 32-bit pointer or handle.</summary>
/// <param name="value">A pointer or handle contained in a 32-bit signed integer.</param>
// Token: 0x06000F76 RID: 3958 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000F76")]
[Address(RVA = "0xA72210", Offset = "0xA71210", VA = "0x180A72210")]
[ReliabilityContract(Consistency.MayCorruptInstance, Cer.MayFail)]
public IntPtr(int value)
{
}
/// <summary>Initializes a new instance of <see cref="T:System.IntPtr" /> using the specified 64-bit pointer.</summary>
/// <param name="value">A pointer or handle contained in a 64-bit signed integer.</param>
/// <exception cref="T:System.OverflowException">On a 32-bit platform, <paramref name="value" /> is too large or too small to represent as an <see cref="T:System.IntPtr" />.</exception>
// Token: 0x06000F77 RID: 3959 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000F77")]
[Address(RVA = "0x593200", Offset = "0x592200", VA = "0x180593200")]
[ReliabilityContract(Consistency.MayCorruptInstance, Cer.MayFail)]
public IntPtr(long value)
{
}
/// <summary>Initializes a new instance of <see cref="T:System.IntPtr" /> using the specified pointer to an unspecified type.</summary>
/// <param name="value">A pointer to an unspecified type.</param>
// Token: 0x06000F78 RID: 3960 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000F78")]
[Address(RVA = "0x593200", Offset = "0x592200", VA = "0x180593200")]
[ReliabilityContract(Consistency.MayCorruptInstance, Cer.MayFail)]
[CLSCompliant(false)]
public unsafe IntPtr(void* value)
{
}
// Token: 0x06000F79 RID: 3961 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000F79")]
[Address(RVA = "0x2D67DD0", Offset = "0x2D66DD0", VA = "0x182D67DD0")]
private IntPtr(SerializationInfo info, StreamingContext context)
{
}
/// <summary>Gets the size of this instance.</summary>
/// <returns>The size of a pointer or handle in this process, measured in bytes. The value of this property is 4 in a 32-bit process, and 8 in a 64-bit process. You can define the process type by setting the <see langword="/platform" /> switch when you compile your code with the C# and Visual Basic compilers.</returns>
// Token: 0x17000176 RID: 374
// (get) Token: 0x06000F7A RID: 3962 RVA: 0x0000CAC8 File Offset: 0x0000ACC8
[Token(Token = "0x17000176")]
public static int Size
{
[Token(Token = "0x6000F7A")]
[Address(RVA = "0x681E00", Offset = "0x680E00", VA = "0x180681E00")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
get
{
return 0;
}
}
/// <summary>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object with the data needed to serialize the current <see cref="T:System.IntPtr" /> 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: 0x06000F7B RID: 3963 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000F7B")]
[Address(RVA = "0x2D67CF0", Offset = "0x2D66CF0", VA = "0x182D67CF0", Slot = "4")]
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
{
}
/// <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.IntPtr" /> and equals the value of this instance; otherwise, <see langword="false" />.</returns>
// Token: 0x06000F7C RID: 3964 RVA: 0x0000CAE0 File Offset: 0x0000ACE0
[Token(Token = "0x6000F7C")]
[Address(RVA = "0x2D67C60", Offset = "0x2D66C60", VA = "0x182D67C60", 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: 0x06000F7D RID: 3965 RVA: 0x0000CAF8 File Offset: 0x0000ACF8
[Token(Token = "0x6000F7D")]
[Address(RVA = "0x5C1530", Offset = "0x5C0530", VA = "0x1805C1530", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// <summary>Converts the value of this instance to a 64-bit signed integer.</summary>
/// <returns>A 64-bit signed integer equal to the value of this instance.</returns>
// Token: 0x06000F7E RID: 3966 RVA: 0x0000CB10 File Offset: 0x0000AD10
[Token(Token = "0x6000F7E")]
[Address(RVA = "0xE78BF0", Offset = "0xE77BF0", VA = "0x180E78BF0")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
public long ToInt64()
{
return 0L;
}
/// <summary>Converts the value of this instance to a pointer to an unspecified type.</summary>
/// <returns>A pointer to <see cref="T:System.Void" />; that is, a pointer to memory containing data of an unspecified type.</returns>
// Token: 0x06000F7F RID: 3967 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000F7F")]
[Address(RVA = "0x63E630", Offset = "0x63D630", VA = "0x18063E630")]
[CLSCompliant(false)]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
public unsafe void* ToPointer()
{
return null;
}
/// <summary>Converts the numeric value of the current <see cref="T:System.IntPtr" /> object to its equivalent string representation.</summary>
/// <returns>The string representation of the value of this instance.</returns>
// Token: 0x06000F80 RID: 3968 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000F80")]
[Address(RVA = "0x2D67D70", Offset = "0x2D66D70", VA = "0x182D67D70", Slot = "3")]
public override string ToString()
{
return null;
}
/// <summary>Converts the numeric value of the current <see cref="T:System.IntPtr" /> object to its equivalent string representation.</summary>
/// <param name="format">A format specification that governs how the current <see cref="T:System.IntPtr" /> object is converted.</param>
/// <returns>The string representation of the value of the current <see cref="T:System.IntPtr" /> object.</returns>
// Token: 0x06000F81 RID: 3969 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000F81")]
[Address(RVA = "0x2D67DA0", Offset = "0x2D66DA0", VA = "0x182D67DA0")]
public string ToString(string format)
{
return null;
}
/// <summary>Determines whether two specified instances of <see cref="T:System.IntPtr" /> 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: 0x06000F82 RID: 3970 RVA: 0x0000CB28 File Offset: 0x0000AD28
[Token(Token = "0x6000F82")]
[Address(RVA = "0x52DD60", Offset = "0x52CD60", VA = "0x18052DD60")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
public static bool operator ==(IntPtr value1, IntPtr value2)
{
return default(bool);
}
/// <summary>Determines whether two specified instances of <see cref="T:System.IntPtr" /> are not 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" /> does not equal <paramref name="value2" />; otherwise, <see langword="false" />.</returns>
// Token: 0x06000F83 RID: 3971 RVA: 0x0000CB40 File Offset: 0x0000AD40
[Token(Token = "0x6000F83")]
[Address(RVA = "0x594EE0", Offset = "0x593EE0", VA = "0x180594EE0")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
public static bool operator !=(IntPtr value1, IntPtr value2)
{
return default(bool);
}
/// <summary>Converts the value of a 32-bit signed integer to an <see cref="T:System.IntPtr" />.</summary>
/// <param name="value">A 32-bit signed integer.</param>
/// <returns>A new instance of <see cref="T:System.IntPtr" /> initialized to <paramref name="value" />.</returns>
// Token: 0x06000F84 RID: 3972 RVA: 0x0000CB58 File Offset: 0x0000AD58
[Token(Token = "0x6000F84")]
[Address(RVA = "0x2C381B0", Offset = "0x2C371B0", VA = "0x182C381B0")]
[ReliabilityContract(Consistency.MayCorruptInstance, Cer.MayFail)]
public static explicit operator IntPtr(int value)
{
return 0;
}
/// <summary>Converts the value of a 64-bit signed integer to an <see cref="T:System.IntPtr" />.</summary>
/// <param name="value">A 64-bit signed integer.</param>
/// <returns>A new instance of <see cref="T:System.IntPtr" /> 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.IntPtr" />.</exception>
// Token: 0x06000F85 RID: 3973 RVA: 0x0000CB70 File Offset: 0x0000AD70
[Token(Token = "0x6000F85")]
[Address(RVA = "0x4A65C0", Offset = "0x4A55C0", VA = "0x1804A65C0")]
[ReliabilityContract(Consistency.MayCorruptInstance, Cer.MayFail)]
public static explicit operator IntPtr(long value)
{
return 0;
}
/// <summary>Converts the specified pointer to an unspecified type to an <see cref="T:System.IntPtr" />.
/// 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.IntPtr" /> initialized to <paramref name="value" />.</returns>
// Token: 0x06000F86 RID: 3974 RVA: 0x0000CB88 File Offset: 0x0000AD88
[Token(Token = "0x6000F86")]
[Address(RVA = "0x4A65C0", Offset = "0x4A55C0", VA = "0x1804A65C0")]
[ReliabilityContract(Consistency.MayCorruptInstance, Cer.MayFail)]
[CLSCompliant(false)]
public unsafe static explicit operator IntPtr(void* value)
{
return 0;
}
/// <summary>Converts the value of the specified <see cref="T:System.IntPtr" /> to a 32-bit signed 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 signed integer.</exception>
// Token: 0x06000F87 RID: 3975 RVA: 0x0000CBA0 File Offset: 0x0000ADA0
[Token(Token = "0x6000F87")]
[Address(RVA = "0x593060", Offset = "0x592060", VA = "0x180593060")]
public static explicit operator int(IntPtr value)
{
return 0;
}
/// <summary>Converts the value of the specified <see cref="T:System.IntPtr" /> to a 64-bit signed integer.</summary>
/// <param name="value">The pointer or handle to convert.</param>
/// <returns>The contents of <paramref name="value" />.</returns>
// Token: 0x06000F88 RID: 3976 RVA: 0x0000CBB8 File Offset: 0x0000ADB8
[Token(Token = "0x6000F88")]
[Address(RVA = "0x675280", Offset = "0x674280", VA = "0x180675280")]
public static explicit operator long(IntPtr value)
{
return 0L;
}
/// <summary>Converts the value of the specified <see cref="T:System.IntPtr" /> to a pointer to an unspecified type.
/// This API is not CLS-compliant.</summary>
/// <param name="value">The pointer or handle to convert.</param>
/// <returns>The contents of <paramref name="value" />.</returns>
// Token: 0x06000F89 RID: 3977 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000F89")]
[Address(RVA = "0x4A65C0", Offset = "0x4A55C0", VA = "0x1804A65C0")]
[CLSCompliant(false)]
public unsafe static explicit operator void*(IntPtr value)
{
return null;
}
/// <summary>Adds an offset to the value of a pointer.</summary>
/// <param name="pointer">The pointer to add the offset to.</param>
/// <param name="offset">The offset to add.</param>
/// <returns>A new pointer that reflects the addition of <paramref name="offset" /> to <paramref name="pointer" />.</returns>
// Token: 0x06000F8A RID: 3978 RVA: 0x0000CBD0 File Offset: 0x0000ADD0
[Token(Token = "0x6000F8A")]
[Address(RVA = "0x1E63960", Offset = "0x1E62960", VA = "0x181E63960")]
[ReliabilityContract(Consistency.MayCorruptInstance, Cer.MayFail)]
public static IntPtr Add(IntPtr pointer, int offset)
{
return 0;
}
// Token: 0x06000F8B RID: 3979 RVA: 0x0000CBE8 File Offset: 0x0000ADE8
[Token(Token = "0x6000F8B")]
[Address(RVA = "0x8BCFA0", Offset = "0x8BBFA0", VA = "0x1808BCFA0")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
internal bool IsNull()
{
return default(bool);
}
// Token: 0x04000639 RID: 1593
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000639")]
private unsafe void* m_value;
/// <summary>A read-only field that represents a pointer or handle that has been initialized to zero.</summary>
// Token: 0x0400063A RID: 1594
[Token(Token = "0x400063A")]
public static readonly IntPtr Zero;
}
}