using System;
using System.Runtime.ConstrainedExecution;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System
{
/// A platform-specific type that is used to represent a pointer or a handle.
// Token: 0x0200017D RID: 381
[Token(Token = "0x200017D")]
[ComVisible(true)]
[Serializable]
public struct IntPtr : ISerializable
{
/// Initializes a new instance of using the specified 32-bit pointer or handle.
/// A pointer or handle contained in a 32-bit signed integer.
// Token: 0x06000F40 RID: 3904 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000F40")]
[Address(RVA = "0x25FC070", Offset = "0x25FAE70", VA = "0x1825FC070")]
[ReliabilityContract(Consistency.MayCorruptInstance, Cer.MayFail)]
public IntPtr(int value)
{
}
/// Initializes a new instance of using the specified 64-bit pointer.
/// A pointer or handle contained in a 64-bit signed integer.
/// On a 32-bit platform, is too large or too small to represent as an .
// Token: 0x06000F41 RID: 3905 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000F41")]
[Address(RVA = "0x461A30", Offset = "0x460830", VA = "0x180461A30")]
[ReliabilityContract(Consistency.MayCorruptInstance, Cer.MayFail)]
public IntPtr(long value)
{
}
/// Initializes a new instance of using the specified pointer to an unspecified type.
/// A pointer to an unspecified type.
// Token: 0x06000F42 RID: 3906 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000F42")]
[Address(RVA = "0x461A30", Offset = "0x460830", VA = "0x180461A30")]
[ReliabilityContract(Consistency.MayCorruptInstance, Cer.MayFail)]
[CLSCompliant(false)]
public unsafe IntPtr(void* value)
{
}
// Token: 0x06000F43 RID: 3907 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000F43")]
[Address(RVA = "0x25FC080", Offset = "0x25FAE80", VA = "0x1825FC080")]
private IntPtr(SerializationInfo info, StreamingContext context)
{
}
/// Gets the size of this instance.
/// 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 switch when you compile your code with the C# and Visual Basic compilers.
// Token: 0x1700016F RID: 367
// (get) Token: 0x06000F44 RID: 3908 RVA: 0x0000C7B0 File Offset: 0x0000A9B0
[Token(Token = "0x1700016F")]
public static int Size
{
[Token(Token = "0x6000F44")]
[Address(RVA = "0x4101D0", Offset = "0x40EFD0", VA = "0x1804101D0")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
get
{
return 0;
}
}
/// Populates a object with the data needed to serialize the current object.
/// The object to populate with data.
/// The destination for this serialization. (This parameter is not used; specify .)
///
/// is .
// Token: 0x06000F45 RID: 3909 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000F45")]
[Address(RVA = "0x25FBF80", Offset = "0x25FAD80", VA = "0x1825FBF80", Slot = "4")]
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
{
}
/// Returns a value indicating whether this instance is equal to a specified object.
/// An object to compare with this instance or .
///
/// if is an instance of and equals the value of this instance; otherwise, .
// Token: 0x06000F46 RID: 3910 RVA: 0x0000C7C8 File Offset: 0x0000A9C8
[Token(Token = "0x6000F46")]
[Address(RVA = "0x25FBEF0", Offset = "0x25FACF0", VA = "0x1825FBEF0", Slot = "0")]
public override bool Equals(object obj)
{
return default(bool);
}
/// Returns the hash code for this instance.
/// A 32-bit signed integer hash code.
// Token: 0x06000F47 RID: 3911 RVA: 0x0000C7E0 File Offset: 0x0000A9E0
[Token(Token = "0x6000F47")]
[Address(RVA = "0x57C620", Offset = "0x57B420", VA = "0x18057C620", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// Converts the value of this instance to a 64-bit signed integer.
/// A 64-bit signed integer equal to the value of this instance.
// Token: 0x06000F48 RID: 3912 RVA: 0x0000C7F8 File Offset: 0x0000A9F8
[Token(Token = "0x6000F48")]
[Address(RVA = "0x723160", Offset = "0x721F60", VA = "0x180723160")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
public long ToInt64()
{
return 0L;
}
/// Converts the value of this instance to a pointer to an unspecified type.
/// A pointer to ; that is, a pointer to memory containing data of an unspecified type.
// Token: 0x06000F49 RID: 3913 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000F49")]
[Address(RVA = "0x41D090", Offset = "0x41BE90", VA = "0x18041D090")]
[CLSCompliant(false)]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
public unsafe void* ToPointer()
{
return null;
}
/// Converts the numeric value of the current object to its equivalent string representation.
/// The string representation of the value of this instance.
// Token: 0x06000F4A RID: 3914 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000F4A")]
[Address(RVA = "0x25FC000", Offset = "0x25FAE00", VA = "0x1825FC000", Slot = "3")]
public override string ToString()
{
return null;
}
/// Converts the numeric value of the current object to its equivalent string representation.
/// A format specification that governs how the current object is converted.
/// The string representation of the value of the current object.
// Token: 0x06000F4B RID: 3915 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000F4B")]
[Address(RVA = "0x25FC030", Offset = "0x25FAE30", VA = "0x1825FC030")]
public string ToString(string format)
{
return null;
}
/// Determines whether two specified instances of are equal.
/// The first pointer or handle to compare.
/// The second pointer or handle to compare.
///
/// if equals ; otherwise, .
// Token: 0x06000F4C RID: 3916 RVA: 0x0000C810 File Offset: 0x0000AA10
[Token(Token = "0x6000F4C")]
[Address(RVA = "0x4C3A20", Offset = "0x4C2820", VA = "0x1804C3A20")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
public static bool operator ==(IntPtr value1, IntPtr value2)
{
return default(bool);
}
/// Determines whether two specified instances of are not equal.
/// The first pointer or handle to compare.
/// The second pointer or handle to compare.
///
/// if does not equal ; otherwise, .
// Token: 0x06000F4D RID: 3917 RVA: 0x0000C828 File Offset: 0x0000AA28
[Token(Token = "0x6000F4D")]
[Address(RVA = "0x164B260", Offset = "0x164A060", VA = "0x18164B260")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
public static bool operator !=(IntPtr value1, IntPtr value2)
{
return default(bool);
}
/// Converts the value of a 32-bit signed integer to an .
/// A 32-bit signed integer.
/// A new instance of initialized to .
// Token: 0x06000F4E RID: 3918 RVA: 0x0000C840 File Offset: 0x0000AA40
[Token(Token = "0x6000F4E")]
[Address(RVA = "0x253A7B0", Offset = "0x25395B0", VA = "0x18253A7B0")]
[ReliabilityContract(Consistency.MayCorruptInstance, Cer.MayFail)]
public static explicit operator IntPtr(int value)
{
return 0;
}
/// Converts the value of a 64-bit signed integer to an .
/// A 64-bit signed integer.
/// A new instance of initialized to .
/// On a 32-bit platform, is too large to represent as an .
// Token: 0x06000F4F RID: 3919 RVA: 0x0000C858 File Offset: 0x0000AA58
[Token(Token = "0x6000F4F")]
[Address(RVA = "0x434BD0", Offset = "0x4339D0", VA = "0x180434BD0")]
[ReliabilityContract(Consistency.MayCorruptInstance, Cer.MayFail)]
public static explicit operator IntPtr(long value)
{
return 0;
}
/// Converts the specified pointer to an unspecified type to an .
/// This API is not CLS-compliant.
/// A pointer to an unspecified type.
/// A new instance of initialized to .
// Token: 0x06000F50 RID: 3920 RVA: 0x0000C870 File Offset: 0x0000AA70
[Token(Token = "0x6000F50")]
[Address(RVA = "0x434BD0", Offset = "0x4339D0", VA = "0x180434BD0")]
[ReliabilityContract(Consistency.MayCorruptInstance, Cer.MayFail)]
[CLSCompliant(false)]
public unsafe static explicit operator IntPtr(void* value)
{
return 0;
}
/// Converts the value of the specified to a 32-bit signed integer.
/// The pointer or handle to convert.
/// The contents of .
/// On a 64-bit platform, the value of is too large to represent as a 32-bit signed integer.
// Token: 0x06000F51 RID: 3921 RVA: 0x0000C888 File Offset: 0x0000AA88
[Token(Token = "0x6000F51")]
[Address(RVA = "0x8DB900", Offset = "0x8DA700", VA = "0x1808DB900")]
public static explicit operator int(IntPtr value)
{
return 0;
}
/// Converts the value of the specified to a 64-bit signed integer.
/// The pointer or handle to convert.
/// The contents of .
// Token: 0x06000F52 RID: 3922 RVA: 0x0000C8A0 File Offset: 0x0000AAA0
[Token(Token = "0x6000F52")]
[Address(RVA = "0x731B80", Offset = "0x730980", VA = "0x180731B80")]
public static explicit operator long(IntPtr value)
{
return 0L;
}
/// Converts the value of the specified to a pointer to an unspecified type.
/// This API is not CLS-compliant.
/// The pointer or handle to convert.
/// The contents of .
// Token: 0x06000F53 RID: 3923 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000F53")]
[Address(RVA = "0x434BD0", Offset = "0x4339D0", VA = "0x180434BD0")]
[CLSCompliant(false)]
public unsafe static explicit operator void*(IntPtr value)
{
return null;
}
/// Adds an offset to the value of a pointer.
/// The pointer to add the offset to.
/// The offset to add.
/// A new pointer that reflects the addition of to .
// Token: 0x06000F54 RID: 3924 RVA: 0x0000C8B8 File Offset: 0x0000AAB8
[Token(Token = "0x6000F54")]
[Address(RVA = "0x25FBEE0", Offset = "0x25FACE0", VA = "0x1825FBEE0")]
[ReliabilityContract(Consistency.MayCorruptInstance, Cer.MayFail)]
public static IntPtr Add(IntPtr pointer, int offset)
{
return 0;
}
// Token: 0x06000F55 RID: 3925 RVA: 0x0000C8D0 File Offset: 0x0000AAD0
[Token(Token = "0x6000F55")]
[Address(RVA = "0x1D79150", Offset = "0x1D77F50", VA = "0x181D79150")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
internal bool IsNull()
{
return default(bool);
}
// Token: 0x0400062F RID: 1583
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
[Token(Token = "0x400062F")]
private unsafe void* m_value;
/// A read-only field that represents a pointer or handle that has been initialized to zero.
// Token: 0x04000630 RID: 1584
[Token(Token = "0x4000630")]
public static readonly IntPtr Zero;
}
}