This commit is contained in:
niko
2026-04-10 22:50:51 +02:00
parent 6d1607d5a2
commit f18d448581
17033 changed files with 2863270 additions and 0 deletions
@@ -0,0 +1,54 @@
using System;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>The exception that is thrown when an unrecognized HRESULT is returned from a COM method call.</summary>
// Token: 0x0200057C RID: 1404
[Token(Token = "0x200057C")]
[ComVisible(true)]
[Serializable]
public class COMException : ExternalException
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.COMException" /> class with default values.</summary>
// Token: 0x06002AAA RID: 10922 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AAA")]
[Address(RVA = "0x294BFE0", Offset = "0x294ADE0", VA = "0x18294BFE0")]
public COMException()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.COMException" /> class with a specified message and error code.</summary>
/// <param name="message">The message that indicates the reason the exception occurred.</param>
/// <param name="errorCode">The error code (HRESULT) value associated with this exception.</param>
// Token: 0x06002AAB RID: 10923 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AAB")]
[Address(RVA = "0x294C040", Offset = "0x294AE40", VA = "0x18294C040")]
public COMException(string message, int errorCode)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.COMException" /> class from serialization data.</summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object that holds the serialized object data.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> object that supplies the contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="info" /> is <see langword="null" />.</exception>
// Token: 0x06002AAC RID: 10924 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AAC")]
[Address(RVA = "0x4E7140", Offset = "0x4E5F40", VA = "0x1804E7140")]
protected COMException(SerializationInfo info, StreamingContext context)
{
}
/// <summary>Converts the contents of the exception to a string.</summary>
/// <returns>A string containing the <see cref="P:System.Exception.HResult" />, <see cref="P:System.Exception.Message" />, <see cref="P:System.Exception.InnerException" />, and <see cref="P:System.Exception.StackTrace" /> properties of the exception.</returns>
// Token: 0x06002AAD RID: 10925 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002AAD")]
[Address(RVA = "0x294BE40", Offset = "0x294AC40", VA = "0x18294BE40", Slot = "3")]
public override string ToString()
{
return null;
}
}
}
@@ -0,0 +1,34 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Specifies the calling convention required to call methods implemented in unmanaged code.</summary>
// Token: 0x0200057A RID: 1402
[Token(Token = "0x200057A")]
[ComVisible(true)]
[Serializable]
public enum CallingConvention
{
/// <summary>This member is not actually a calling convention, but instead uses the default platform calling convention. For example, on Windows the default is <see cref="F:System.Runtime.InteropServices.CallingConvention.StdCall" /> and on Windows CE.NET it is <see cref="F:System.Runtime.InteropServices.CallingConvention.Cdecl" />.</summary>
// Token: 0x04001928 RID: 6440
[Token(Token = "0x4001928")]
Winapi = 1,
/// <summary>The caller cleans the stack. This enables calling functions with <see langword="varargs" />, which makes it appropriate to use for methods that accept a variable number of parameters, such as <see langword="Printf" />.</summary>
// Token: 0x04001929 RID: 6441
[Token(Token = "0x4001929")]
Cdecl,
/// <summary>The callee cleans the stack. This is the default convention for calling unmanaged functions with platform invoke.</summary>
// Token: 0x0400192A RID: 6442
[Token(Token = "0x400192A")]
StdCall,
/// <summary>The first parameter is the <see langword="this" /> pointer and is stored in register ECX. Other parameters are pushed on the stack. This calling convention is used to call methods on classes exported from an unmanaged DLL.</summary>
// Token: 0x0400192B RID: 6443
[Token(Token = "0x400192B")]
ThisCall,
/// <summary>This calling convention is not supported.</summary>
// Token: 0x0400192C RID: 6444
[Token(Token = "0x400192C")]
FastCall
}
}
@@ -0,0 +1,30 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Dictates which character set marshaled strings should use.</summary>
// Token: 0x0200057B RID: 1403
[Token(Token = "0x200057B")]
[ComVisible(true)]
[Serializable]
public enum CharSet
{
/// <summary>This value is obsolete and has the same behavior as <see cref="F:System.Runtime.InteropServices.CharSet.Ansi" />.</summary>
// Token: 0x0400192E RID: 6446
[Token(Token = "0x400192E")]
None = 1,
/// <summary>Marshal strings as multiple-byte character strings.</summary>
// Token: 0x0400192F RID: 6447
[Token(Token = "0x400192F")]
Ansi,
/// <summary>Marshal strings as Unicode 2-byte characters.</summary>
// Token: 0x04001930 RID: 6448
[Token(Token = "0x4001930")]
Unicode,
/// <summary>Automatically marshal strings appropriately for the target operating system. The default is <see cref="F:System.Runtime.InteropServices.CharSet.Unicode" /> on Windows NT, Windows 2000, Windows XP, and the Windows Server 2003 family; the default is <see cref="F:System.Runtime.InteropServices.CharSet.Ansi" /> on Windows 98 and Windows Me. Although the common language runtime default is <see cref="F:System.Runtime.InteropServices.CharSet.Auto" />, languages may override this default. For example, by default C# marks all methods and types as <see cref="F:System.Runtime.InteropServices.CharSet.Ansi" />.</summary>
// Token: 0x04001931 RID: 6449
[Token(Token = "0x4001931")]
Auto
}
}
@@ -0,0 +1,27 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Indicates the type of class interface to be generated for a class exposed to COM, if an interface is generated at all.</summary>
// Token: 0x0200056B RID: 1387
[Token(Token = "0x200056B")]
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class)]
[ComVisible(true)]
public sealed class ClassInterfaceAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.ClassInterfaceAttribute" /> class with the specified <see cref="T:System.Runtime.InteropServices.ClassInterfaceType" /> enumeration member.</summary>
/// <param name="classInterfaceType">One of the <see cref="T:System.Runtime.InteropServices.ClassInterfaceType" /> values that describes the type of interface that is generated for a class.</param>
// Token: 0x06002A99 RID: 10905 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A99")]
[Address(RVA = "0x4D83A0", Offset = "0x4D71A0", VA = "0x1804D83A0")]
public ClassInterfaceAttribute(ClassInterfaceType classInterfaceType)
{
}
// Token: 0x040018B9 RID: 6329
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40018B9")]
internal ClassInterfaceType _val;
}
}
@@ -0,0 +1,26 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Identifies the type of class interface that is generated for a class.</summary>
// Token: 0x0200056A RID: 1386
[Token(Token = "0x200056A")]
[ComVisible(true)]
[Serializable]
public enum ClassInterfaceType
{
/// <summary>Indicates that no class interface is generated for the class. If no interfaces are implemented explicitly, the class can only provide late-bound access through the <see langword="IDispatch" /> interface. This is the recommended setting for <see cref="T:System.Runtime.InteropServices.ClassInterfaceAttribute" />. Using <see langword="ClassInterfaceType.None" /> is the only way to expose functionality through interfaces implemented explicitly by the class.</summary>
// Token: 0x040018B6 RID: 6326
[Token(Token = "0x40018B6")]
None,
/// <summary>Indicates that the class only supports late binding for COM clients. A <see langword="dispinterface" /> for the class is automatically exposed to COM clients on request. The type library produced by Tlbexp.exe (Type Library Exporter) does not contain type information for the <see langword="dispinterface" /> in order to prevent clients from caching the DISPIDs of the interface. The <see langword="dispinterface" /> does not exhibit the versioning problems described in <see cref="T:System.Runtime.InteropServices.ClassInterfaceAttribute" /> because clients can only late-bind to the interface.</summary>
// Token: 0x040018B7 RID: 6327
[Token(Token = "0x40018B7")]
AutoDispatch,
/// <summary>Indicates that a dual class interface is automatically generated for the class and exposed to COM. Type information is produced for the class interface and published in the type library. Using <see langword="AutoDual" /> is strongly discouraged because of the versioning limitations described in <see cref="T:System.Runtime.InteropServices.ClassInterfaceAttribute" />.</summary>
// Token: 0x040018B8 RID: 6328
[Token(Token = "0x40018B8")]
AutoDual
}
}
@@ -0,0 +1,45 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Indicates to a COM client that all classes in the current version of an assembly are compatible with classes in an earlier version of the assembly.</summary>
// Token: 0x02000579 RID: 1401
[Token(Token = "0x2000579")]
[ComVisible(true)]
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class ComCompatibleVersionAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.ComCompatibleVersionAttribute" /> class with the major version, minor version, build, and revision numbers of the assembly.</summary>
/// <param name="major">The major version number of the assembly.</param>
/// <param name="minor">The minor version number of the assembly.</param>
/// <param name="build">The build number of the assembly.</param>
/// <param name="revision">The revision number of the assembly.</param>
// Token: 0x06002AA9 RID: 10921 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AA9")]
[Address(RVA = "0x2370600", Offset = "0x236F400", VA = "0x182370600")]
public ComCompatibleVersionAttribute(int major, int minor, int build, int revision)
{
}
// Token: 0x04001923 RID: 6435
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001923")]
internal int _major;
// Token: 0x04001924 RID: 6436
[FieldOffset(Offset = "0x14")]
[Token(Token = "0x4001924")]
internal int _minor;
// Token: 0x04001925 RID: 6437
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001925")]
internal int _build;
// Token: 0x04001926 RID: 6438
[FieldOffset(Offset = "0x1C")]
[Token(Token = "0x4001926")]
internal int _revision;
}
}
@@ -0,0 +1,27 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Specifies a default interface to expose to COM. This class cannot be inherited.</summary>
// Token: 0x02000569 RID: 1385
[Token(Token = "0x2000569")]
[AttributeUsage(AttributeTargets.Class)]
[ComVisible(true)]
public sealed class ComDefaultInterfaceAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.ComDefaultInterfaceAttribute" /> class with the specified <see cref="T:System.Type" /> object as the default interface exposed to COM.</summary>
/// <param name="defaultInterface">A <see cref="T:System.Type" /> value indicating the default interface to expose to COM.</param>
// Token: 0x06002A98 RID: 10904 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A98")]
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
public ComDefaultInterfaceAttribute(Type defaultInterface)
{
}
// Token: 0x040018B4 RID: 6324
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40018B4")]
internal Type _val;
}
}
@@ -0,0 +1,21 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Indicates that the attributed type was previously defined in COM.</summary>
// Token: 0x0200056F RID: 1391
[Token(Token = "0x200056F")]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface)]
[ComVisible(true)]
public sealed class ComImportAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.ComImportAttribute" />.</summary>
// Token: 0x06002A9B RID: 10907 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A9B")]
[Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")]
public ComImportAttribute()
{
}
}
}
@@ -0,0 +1,31 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Identifies how to expose an interface to COM.</summary>
// Token: 0x02000567 RID: 1383
[Token(Token = "0x2000567")]
[ComVisible(true)]
[Serializable]
public enum ComInterfaceType
{
/// <summary>Indicates that the interface is exposed to COM as a dual interface, which enables both early and late binding. <see cref="F:System.Runtime.InteropServices.ComInterfaceType.InterfaceIsDual" /> is the default value.</summary>
// Token: 0x040018AF RID: 6319
[Token(Token = "0x40018AF")]
InterfaceIsDual,
/// <summary>Indicates that an interface is exposed to COM as an interface that is derived from IUnknown, which enables only early binding.</summary>
// Token: 0x040018B0 RID: 6320
[Token(Token = "0x40018B0")]
InterfaceIsIUnknown,
/// <summary>Indicates that an interface is exposed to COM as a dispinterface, which enables late binding only.</summary>
// Token: 0x040018B1 RID: 6321
[Token(Token = "0x40018B1")]
InterfaceIsIDispatch,
/// <summary>Indicates that an interface is exposed to COM as a Windows Runtime interface.</summary>
// Token: 0x040018B2 RID: 6322
[Token(Token = "0x40018B2")]
[ComVisible(false)]
InterfaceIsIInspectable
}
}
@@ -0,0 +1,23 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices.ComTypes
{
/// <summary>Represents the number of 100-nanosecond intervals since January 1, 1601. This structure is a 64-bit value.</summary>
// Token: 0x0200059A RID: 1434
[Token(Token = "0x200059A")]
public struct FILETIME
{
/// <summary>Specifies the low 32 bits of the <see langword="FILETIME" />.</summary>
// Token: 0x0400194E RID: 6478
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x400194E")]
public int dwLowDateTime;
/// <summary>Specifies the high 32 bits of the <see langword="FILETIME" />.</summary>
// Token: 0x0400194F RID: 6479
[FieldOffset(Offset = "0x4")]
[Token(Token = "0x400194F")]
public int dwHighDateTime;
}
}
@@ -0,0 +1,104 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices.ComTypes
{
/// <summary>Provides the managed definition of the <see langword="IStream" /> interface, with <see langword="ISequentialStream" /> functionality.</summary>
// Token: 0x0200059C RID: 1436
[Token(Token = "0x200059C")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("0000000c-0000-0000-C000-000000000046")]
[ComImport]
public interface IStream
{
/// <summary>Reads a specified number of bytes from the stream object into memory starting at the current seek pointer.</summary>
/// <param name="pv">When this method returns, contains the data read from the stream. This parameter is passed uninitialized.</param>
/// <param name="cb">The number of bytes to read from the stream object.</param>
/// <param name="pcbRead">A pointer to a <see langword="ULONG" /> variable that receives the actual number of bytes read from the stream object.</param>
// Token: 0x06002B39 RID: 11065
[Token(Token = "0x6002B39")]
[Address(RVA = "0x237A050", Offset = "0x2378E50", VA = "0x18237A050", Slot = "0")]
void Read([Out] byte[] pv, int cb, IntPtr pcbRead);
/// <summary>Writes a specified number of bytes into the stream object starting at the current seek pointer.</summary>
/// <param name="pv">The buffer to write this stream to.</param>
/// <param name="cb">The number of bytes to write to the stream.</param>
/// <param name="pcbWritten">On successful return, contains the actual number of bytes written to the stream object. If the caller sets this pointer to <see cref="F:System.IntPtr.Zero" />, this method does not provide the actual number of bytes written.</param>
// Token: 0x06002B3A RID: 11066
[Token(Token = "0x6002B3A")]
[Address(RVA = "0x237A360", Offset = "0x2379160", VA = "0x18237A360", Slot = "1")]
void Write(byte[] pv, int cb, IntPtr pcbWritten);
/// <summary>Changes the seek pointer to a new location relative to the beginning of the stream, to the end of the stream, or to the current seek pointer.</summary>
/// <param name="dlibMove">The displacement to add to <paramref name="dwOrigin" />.</param>
/// <param name="dwOrigin">The origin of the seek. The origin can be the beginning of the file, the current seek pointer, or the end of the file.</param>
/// <param name="plibNewPosition">On successful return, contains the offset of the seek pointer from the beginning of the stream.</param>
// Token: 0x06002B3B RID: 11067
[Token(Token = "0x6002B3B")]
[Address(RVA = "0x237A150", Offset = "0x2378F50", VA = "0x18237A150", Slot = "2")]
void Seek(long dlibMove, int dwOrigin, IntPtr plibNewPosition);
/// <summary>Changes the size of the stream object.</summary>
/// <param name="libNewSize">The new size of the stream as a number of bytes.</param>
// Token: 0x06002B3C RID: 11068
[Token(Token = "0x6002B3C")]
[Address(RVA = "0x237A1B0", Offset = "0x2378FB0", VA = "0x18237A1B0", Slot = "3")]
void SetSize(long libNewSize);
/// <summary>Copies a specified number of bytes from the current seek pointer in the stream to the current seek pointer in another stream.</summary>
/// <param name="pstm">A reference to the destination stream.</param>
/// <param name="cb">The number of bytes to copy from the source stream.</param>
/// <param name="pcbRead">On successful return, contains the actual number of bytes read from the source.</param>
/// <param name="pcbWritten">On successful return, contains the actual number of bytes written to the destination.</param>
// Token: 0x06002B3D RID: 11069
[Token(Token = "0x6002B3D")]
[Address(RVA = "0x2379F40", Offset = "0x2378D40", VA = "0x182379F40", Slot = "4")]
void CopyTo(IStream pstm, long cb, IntPtr pcbRead, IntPtr pcbWritten);
/// <summary>Ensures that any changes made to a stream object that is open in transacted mode are reflected in the parent storage.</summary>
/// <param name="grfCommitFlags">A value that controls how the changes for the stream object are committed.</param>
// Token: 0x06002B3E RID: 11070
[Token(Token = "0x6002B3E")]
[Address(RVA = "0x2379F00", Offset = "0x2378D00", VA = "0x182379F00", Slot = "5")]
void Commit(int grfCommitFlags);
/// <summary>Discards all changes that have been made to a transacted stream since the last <see cref="M:System.Runtime.InteropServices.ComTypes.IStream.Commit(System.Int32)" /> call.</summary>
// Token: 0x06002B3F RID: 11071
[Token(Token = "0x6002B3F")]
[Address(RVA = "0x237A120", Offset = "0x2378F20", VA = "0x18237A120", Slot = "6")]
void Revert();
/// <summary>Restricts access to a specified range of bytes in the stream.</summary>
/// <param name="libOffset">The byte offset for the beginning of the range.</param>
/// <param name="cb">The length of the range, in bytes, to restrict.</param>
/// <param name="dwLockType">The requested restrictions on accessing the range.</param>
// Token: 0x06002B40 RID: 11072
[Token(Token = "0x6002B40")]
[Address(RVA = "0x2379FF0", Offset = "0x2378DF0", VA = "0x182379FF0", Slot = "7")]
void LockRegion(long libOffset, long cb, int dwLockType);
/// <summary>Removes the access restriction on a range of bytes previously restricted with the <see cref="M:System.Runtime.InteropServices.ComTypes.IStream.LockRegion(System.Int64,System.Int64,System.Int32)" /> method.</summary>
/// <param name="libOffset">The byte offset for the beginning of the range.</param>
/// <param name="cb">The length, in bytes, of the range to restrict.</param>
/// <param name="dwLockType">The access restrictions previously placed on the range.</param>
// Token: 0x06002B41 RID: 11073
[Token(Token = "0x6002B41")]
[Address(RVA = "0x237A300", Offset = "0x2379100", VA = "0x18237A300", Slot = "8")]
void UnlockRegion(long libOffset, long cb, int dwLockType);
/// <summary>Retrieves the <see cref="T:System.Runtime.InteropServices.STATSTG" /> structure for this stream.</summary>
/// <param name="pstatstg">When this method returns, contains a <see langword="STATSTG" /> structure that describes this stream object. This parameter is passed uninitialized.</param>
/// <param name="grfStatFlag">Members in the <see langword="STATSTG" /> structure that this method does not return, thus saving some memory allocation operations.</param>
// Token: 0x06002B42 RID: 11074
[Token(Token = "0x6002B42")]
[Address(RVA = "0x237A1F0", Offset = "0x2378FF0", VA = "0x18237A1F0", Slot = "9")]
void Stat(out STATSTG pstatstg, int grfStatFlag);
/// <summary>Creates a new stream object with its own seek pointer that references the same bytes as the original stream.</summary>
/// <param name="ppstm">When this method returns, contains the new stream object. This parameter is passed uninitialized.</param>
// Token: 0x06002B43 RID: 11075
[Token(Token = "0x6002B43")]
[Address(RVA = "0x2379E40", Offset = "0x2378C40", VA = "0x182379E40", Slot = "10")]
void Clone(out IStream ppstm);
}
}
@@ -0,0 +1,78 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices.ComTypes
{
/// <summary>Contains statistical information about an open storage, stream, or byte-array object.</summary>
// Token: 0x0200059B RID: 1435
[Token(Token = "0x200059B")]
[StructLayout(0, CharSet = CharSet.Unicode)]
public struct STATSTG
{
/// <summary>Represents a pointer to a null-terminated string containing the name of the object described by this structure.</summary>
// Token: 0x04001950 RID: 6480
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4001950")]
public string pwcsName;
/// <summary>Indicates the type of storage object, which is one of the values from the <see langword="STGTY" /> enumeration.</summary>
// Token: 0x04001951 RID: 6481
[FieldOffset(Offset = "0x8")]
[Token(Token = "0x4001951")]
public int type;
/// <summary>Specifies the size, in bytes, of the stream or byte array.</summary>
// Token: 0x04001952 RID: 6482
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001952")]
public long cbSize;
/// <summary>Indicates the last modification time for this storage, stream, or byte array.</summary>
// Token: 0x04001953 RID: 6483
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001953")]
public FILETIME mtime;
/// <summary>Indicates the creation time for this storage, stream, or byte array.</summary>
// Token: 0x04001954 RID: 6484
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4001954")]
public FILETIME ctime;
/// <summary>Specifies the last access time for this storage, stream, or byte array.</summary>
// Token: 0x04001955 RID: 6485
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4001955")]
public FILETIME atime;
/// <summary>Indicates the access mode that was specified when the object was opened.</summary>
// Token: 0x04001956 RID: 6486
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4001956")]
public int grfMode;
/// <summary>Indicates the types of region locking supported by the stream or byte array.</summary>
// Token: 0x04001957 RID: 6487
[FieldOffset(Offset = "0x34")]
[Token(Token = "0x4001957")]
public int grfLocksSupported;
/// <summary>Indicates the class identifier for the storage object.</summary>
// Token: 0x04001958 RID: 6488
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x4001958")]
public Guid clsid;
/// <summary>Indicates the current state bits of the storage object (the value most recently set by the <see langword="IStorage::SetStateBits" /> method).</summary>
// Token: 0x04001959 RID: 6489
[FieldOffset(Offset = "0x48")]
[Token(Token = "0x4001959")]
public int grfStateBits;
/// <summary>Reserved for future use.</summary>
// Token: 0x0400195A RID: 6490
[FieldOffset(Offset = "0x4C")]
[Token(Token = "0x400195A")]
public int reserved;
}
}
@@ -0,0 +1,28 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Controls accessibility of an individual managed type or member, or of all types within an assembly, to COM.</summary>
// Token: 0x0200056C RID: 1388
[Token(Token = "0x200056C")]
[ComVisible(true)]
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Interface | AttributeTargets.Delegate)]
public sealed class ComVisibleAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see langword="ComVisibleAttribute" /> class.</summary>
/// <param name="visibility">
/// <see langword="true" /> to indicate that the type is visible to COM; otherwise, <see langword="false" />. The default is <see langword="true" />.</param>
// Token: 0x06002A9A RID: 10906 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A9A")]
[Address(RVA = "0x49E320", Offset = "0x49D120", VA = "0x18049E320")]
public ComVisibleAttribute(bool visibility)
{
}
// Token: 0x040018BA RID: 6330
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40018BA")]
internal bool _val;
}
}
@@ -0,0 +1,27 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Specifies the paths that are used to search for DLLs that provide functions for platform invokes.</summary>
// Token: 0x02000576 RID: 1398
[Token(Token = "0x2000576")]
[ComVisible(false)]
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Method)]
public sealed class DefaultDllImportSearchPathsAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.DefaultDllImportSearchPathsAttribute" /> class, specifying the paths to use when searching for the targets of platform invokes.</summary>
/// <param name="paths">A bitwise combination of enumeration values that specify the paths that the LoadLibraryEx function searches during platform invokes.</param>
// Token: 0x06002AA2 RID: 10914 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AA2")]
[Address(RVA = "0x4D83A0", Offset = "0x4D71A0", VA = "0x1804D83A0")]
public DefaultDllImportSearchPathsAttribute(DllImportSearchPath paths)
{
}
// Token: 0x04001918 RID: 6424
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001918")]
internal DllImportSearchPath _paths;
}
}
@@ -0,0 +1,27 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Specifies the COM dispatch identifier (DISPID) of a method, field, or property.</summary>
// Token: 0x02000566 RID: 1382
[Token(Token = "0x2000566")]
[ComVisible(true)]
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event)]
public sealed class DispIdAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see langword="DispIdAttribute" /> class with the specified DISPID.</summary>
/// <param name="dispId">The DISPID for the member.</param>
// Token: 0x06002A96 RID: 10902 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A96")]
[Address(RVA = "0x4D83A0", Offset = "0x4D71A0", VA = "0x1804D83A0")]
public DispIdAttribute(int dispId)
{
}
// Token: 0x040018AD RID: 6317
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40018AD")]
internal int _val;
}
}
@@ -0,0 +1,114 @@
using System;
using System.Reflection;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Indicates that the attributed method is exposed by an unmanaged dynamic-link library (DLL) as a static entry point.</summary>
// Token: 0x02000577 RID: 1399
[Token(Token = "0x2000577")]
[ComVisible(true)]
[AttributeUsage(AttributeTargets.Method)]
public sealed class DllImportAttribute : Attribute
{
// Token: 0x06002AA3 RID: 10915 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002AA3")]
[Address(RVA = "0x2378820", Offset = "0x2377620", VA = "0x182378820")]
internal static Attribute GetCustomAttribute(RuntimeMethodInfo method)
{
return null;
}
// Token: 0x06002AA4 RID: 10916 RVA: 0x00016A10 File Offset: 0x00014C10
[Token(Token = "0x6002AA4")]
[Address(RVA = "0x2378AD0", Offset = "0x23778D0", VA = "0x182378AD0")]
internal static bool IsDefined(RuntimeMethodInfo method)
{
return default(bool);
}
// Token: 0x06002AA5 RID: 10917 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AA5")]
[Address(RVA = "0x2378B00", Offset = "0x2377900", VA = "0x182378B00")]
internal DllImportAttribute(string dllName, string entryPoint, CharSet charSet, bool exactSpelling, bool setLastError, bool preserveSig, CallingConvention callingConvention, bool bestFitMapping, bool throwOnUnmappableChar)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.DllImportAttribute" /> class with the name of the DLL containing the method to import.</summary>
/// <param name="dllName">The name of the DLL that contains the unmanaged method. This can include an assembly display name, if the DLL is included in an assembly.</param>
// Token: 0x06002AA6 RID: 10918 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AA6")]
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
public DllImportAttribute(string dllName)
{
}
/// <summary>Gets the name of the DLL file that contains the entry point.</summary>
/// <returns>The name of the DLL file that contains the entry point.</returns>
// Token: 0x17000650 RID: 1616
// (get) Token: 0x06002AA7 RID: 10919 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000650")]
public string Value
{
[Token(Token = "0x6002AA7")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
get
{
return null;
}
}
// Token: 0x04001919 RID: 6425
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001919")]
internal string _val;
/// <summary>Indicates the name or ordinal of the DLL entry point to be called.</summary>
// Token: 0x0400191A RID: 6426
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x400191A")]
public string EntryPoint;
/// <summary>Indicates how to marshal string parameters to the method and controls name mangling.</summary>
// Token: 0x0400191B RID: 6427
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x400191B")]
public CharSet CharSet;
/// <summary>Indicates whether the callee calls the <see langword="SetLastError" /> Win32 API function before returning from the attributed method.</summary>
// Token: 0x0400191C RID: 6428
[FieldOffset(Offset = "0x24")]
[Token(Token = "0x400191C")]
public bool SetLastError;
/// <summary>Controls whether the <see cref="F:System.Runtime.InteropServices.DllImportAttribute.CharSet" /> field causes the common language runtime to search an unmanaged DLL for entry-point names other than the one specified.</summary>
// Token: 0x0400191D RID: 6429
[FieldOffset(Offset = "0x25")]
[Token(Token = "0x400191D")]
public bool ExactSpelling;
/// <summary>Indicates whether unmanaged methods that have <see langword="HRESULT" /> or <see langword="retval" /> return values are directly translated or whether <see langword="HRESULT" /> or <see langword="retval" /> return values are automatically converted to exceptions.</summary>
// Token: 0x0400191E RID: 6430
[FieldOffset(Offset = "0x26")]
[Token(Token = "0x400191E")]
public bool PreserveSig;
/// <summary>Indicates the calling convention of an entry point.</summary>
// Token: 0x0400191F RID: 6431
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x400191F")]
public CallingConvention CallingConvention;
/// <summary>Enables or disables best-fit mapping behavior when converting Unicode characters to ANSI characters.</summary>
// Token: 0x04001920 RID: 6432
[FieldOffset(Offset = "0x2C")]
[Token(Token = "0x4001920")]
public bool BestFitMapping;
/// <summary>Enables or disables the throwing of an exception on an unmappable Unicode character that is converted to an ANSI "?" character.</summary>
// Token: 0x04001921 RID: 6433
[FieldOffset(Offset = "0x2D")]
[Token(Token = "0x4001921")]
public bool ThrowOnUnmappableChar;
}
}
@@ -0,0 +1,41 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Specifies the paths that are used to search for DLLs that provide functions for platform invokes.</summary>
// Token: 0x02000575 RID: 1397
[Token(Token = "0x2000575")]
[Flags]
public enum DllImportSearchPath
{
/// <summary>Search for the dependencies of a DLL in the folder where the DLL is located before searching other folders.</summary>
// Token: 0x04001911 RID: 6417
[Token(Token = "0x4001911")]
UseDllDirectoryForDependencies = 256,
/// <summary>Include the application directory in the DLL search path.</summary>
// Token: 0x04001912 RID: 6418
[Token(Token = "0x4001912")]
ApplicationDirectory = 512,
/// <summary>Include any path that was explicitly added to the process-wide search path by using the Win32 AddDllDirectory function.</summary>
// Token: 0x04001913 RID: 6419
[Token(Token = "0x4001913")]
UserDirectories = 1024,
/// <summary>Include the <see langword="%WinDir%\System32" /> directory in the DLL search path.</summary>
// Token: 0x04001914 RID: 6420
[Token(Token = "0x4001914")]
System32 = 2048,
/// <summary>Include the application directory, the <see langword="%WinDir%\System32" /> directory, and user directories in the DLL search path.</summary>
// Token: 0x04001915 RID: 6421
[Token(Token = "0x4001915")]
SafeDirectories = 4096,
/// <summary>When searching for assembly dependencies, include the directory that contains the assembly itself, and search that directory first. This value is used by the .NET Framework, before the paths are passed to the Win32 LoadLibraryEx function.</summary>
// Token: 0x04001916 RID: 6422
[Token(Token = "0x4001916")]
AssemblyDirectory = 2,
/// <summary>Search the application directory, and then call the Win32 LoadLibraryEx function with the LOAD_WITH_ALTERED_SEARCH_PATH flag. This value is ignored if any other value is specified. Operating systems that do not support the <see cref="T:System.Runtime.InteropServices.DefaultDllImportSearchPathsAttribute" /> attribute use this value, and ignore other values.</summary>
// Token: 0x04001917 RID: 6423
[Token(Token = "0x4001917")]
LegacyBehavior = 0
}
}
@@ -0,0 +1,18 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Wraps objects the marshaler should marshal as a <see langword="VT_ERROR" />.</summary>
// Token: 0x0200057D RID: 1405
[Token(Token = "0x200057D")]
[ComVisible(true)]
[Serializable]
public sealed class ErrorWrapper
{
// Token: 0x04001932 RID: 6450
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001932")]
private int m_ErrorCode;
}
}
@@ -0,0 +1,88 @@
using System;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>The base exception type for all COM interop exceptions and structured exception handling (SEH) exceptions.</summary>
// Token: 0x0200057E RID: 1406
[Token(Token = "0x200057E")]
[ComVisible(true)]
[Serializable]
public class ExternalException : SystemException
{
/// <summary>Initializes a new instance of the <see langword="ExternalException" /> class with default properties.</summary>
// Token: 0x06002AAE RID: 10926 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AAE")]
[Address(RVA = "0x2379900", Offset = "0x2378700", VA = "0x182379900")]
public ExternalException()
{
}
/// <summary>Initializes a new instance of the <see langword="ExternalException" /> class with a specified error message.</summary>
/// <param name="message">The error message that specifies the reason for the exception.</param>
// Token: 0x06002AAF RID: 10927 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AAF")]
[Address(RVA = "0x2379990", Offset = "0x2378790", VA = "0x182379990")]
public ExternalException(string message)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.ExternalException" /> class with a specified error message and a reference to the inner exception that is the cause of this exception.</summary>
/// <param name="message">The error message that explains the reason for the exception.</param>
/// <param name="inner">The exception that is the cause of the current exception. If the <paramref name="inner" /> parameter is not <see langword="null" />, the current exception is raised in a <see langword="catch" /> block that handles the inner exception.</param>
// Token: 0x06002AB0 RID: 10928 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AB0")]
[Address(RVA = "0x2379960", Offset = "0x2378760", VA = "0x182379960")]
public ExternalException(string message, Exception inner)
{
}
/// <summary>Initializes a new instance of the <see langword="ExternalException" /> class with a specified error message and the HRESULT of the error.</summary>
/// <param name="message">The error message that specifies the reason for the exception.</param>
/// <param name="errorCode">The HRESULT of the error.</param>
// Token: 0x06002AB1 RID: 10929 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AB1")]
[Address(RVA = "0x23798D0", Offset = "0x23786D0", VA = "0x1823798D0")]
public ExternalException(string message, int errorCode)
{
}
/// <summary>Initializes a new instance of the <see langword="ExternalException" /> class from serialization data.</summary>
/// <param name="info">The object that holds the serialized object data.</param>
/// <param name="context">The contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="info" /> is <see langword="null" />.</exception>
// Token: 0x06002AB2 RID: 10930 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AB2")]
[Address(RVA = "0x3F60E0", Offset = "0x3F4EE0", VA = "0x1803F60E0")]
protected ExternalException(SerializationInfo info, StreamingContext context)
{
}
/// <summary>Gets the <see langword="HRESULT" /> of the error.</summary>
/// <returns>The <see langword="HRESULT" /> of the error.</returns>
// Token: 0x17000651 RID: 1617
// (get) Token: 0x06002AB3 RID: 10931 RVA: 0x00016A28 File Offset: 0x00014C28
[Token(Token = "0x17000651")]
public virtual int ErrorCode
{
[Token(Token = "0x6002AB3")]
[Address(RVA = "0xD17AD0", Offset = "0xD168D0", VA = "0x180D17AD0", Slot = "12")]
get
{
return 0;
}
}
/// <summary>Returns a string that contains the HRESULT of the error.</summary>
/// <returns>A string that represents the HRESULT.</returns>
// Token: 0x06002AB4 RID: 10932 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002AB4")]
[Address(RVA = "0x2379730", Offset = "0x2378530", VA = "0x182379730", Slot = "3")]
public override string ToString()
{
return null;
}
}
}
@@ -0,0 +1,27 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Indicates the physical position of fields within the unmanaged representation of a class or structure.</summary>
// Token: 0x02000578 RID: 1400
[Token(Token = "0x2000578")]
[AttributeUsage(AttributeTargets.Field)]
[ComVisible(true)]
public sealed class FieldOffsetAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.FieldOffsetAttribute" /> class with the offset in the structure to the beginning of the field.</summary>
/// <param name="offset">The offset in bytes from the beginning of the structure to the beginning of the field.</param>
// Token: 0x06002AA8 RID: 10920 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AA8")]
[Address(RVA = "0x4D83A0", Offset = "0x4D71A0", VA = "0x1804D83A0")]
public FieldOffsetAttribute(int offset)
{
}
// Token: 0x04001922 RID: 6434
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001922")]
internal int _val;
}
}
@@ -0,0 +1,242 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Provides a way to access a managed object from unmanaged memory.</summary>
// Token: 0x02000586 RID: 1414
[Token(Token = "0x2000586")]
[MonoTODO]
[ComVisible(true)]
[MonoTODO("Struct should be [StructLayout(LayoutKind.Sequential)] but will need to be reordered for that.")]
public struct GCHandle
{
// Token: 0x06002AD5 RID: 10965 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AD5")]
[Address(RVA = "0x2379D70", Offset = "0x2378B70", VA = "0x182379D70")]
private GCHandle(IntPtr h)
{
}
// Token: 0x06002AD6 RID: 10966 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AD6")]
[Address(RVA = "0x2379D10", Offset = "0x2378B10", VA = "0x182379D10")]
private GCHandle(object obj)
{
}
// Token: 0x06002AD7 RID: 10967 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AD7")]
[Address(RVA = "0x2379D40", Offset = "0x2378B40", VA = "0x182379D40")]
internal GCHandle(object value, GCHandleType type)
{
}
/// <summary>Gets a value indicating whether the handle is allocated.</summary>
/// <returns>
/// <see langword="true" /> if the handle is allocated; otherwise, <see langword="false" />.</returns>
// Token: 0x17000655 RID: 1621
// (get) Token: 0x06002AD8 RID: 10968 RVA: 0x00016A88 File Offset: 0x00014C88
[Token(Token = "0x17000655")]
public bool IsAllocated
{
[Token(Token = "0x6002AD8")]
[Address(RVA = "0x901960", Offset = "0x900760", VA = "0x180901960")]
get
{
return default(bool);
}
}
/// <summary>Gets or sets the object this handle represents.</summary>
/// <returns>The object this handle represents.</returns>
/// <exception cref="T:System.InvalidOperationException">The handle was freed, or never initialized.</exception>
// Token: 0x17000656 RID: 1622
// (get) Token: 0x06002AD9 RID: 10969 RVA: 0x00002082 File Offset: 0x00000282
// (set) Token: 0x06002ADA RID: 10970 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000656")]
public object Target
{
[Token(Token = "0x6002AD9")]
[Address(RVA = "0x2379D90", Offset = "0x2378B90", VA = "0x182379D90")]
get
{
return null;
}
[Token(Token = "0x6002ADA")]
[Address(RVA = "0x2379E10", Offset = "0x2378C10", VA = "0x182379E10")]
set
{
}
}
/// <summary>Retrieves the address of an object in a <see cref="F:System.Runtime.InteropServices.GCHandleType.Pinned" /> handle.</summary>
/// <returns>The address of the pinned object as an <see cref="T:System.IntPtr" />.</returns>
/// <exception cref="T:System.InvalidOperationException">The handle is any type other than <see cref="F:System.Runtime.InteropServices.GCHandleType.Pinned" />.</exception>
// Token: 0x06002ADB RID: 10971 RVA: 0x00016AA0 File Offset: 0x00014CA0
[Token(Token = "0x6002ADB")]
[Address(RVA = "0x23799D0", Offset = "0x23787D0", VA = "0x1823799D0")]
public IntPtr AddrOfPinnedObject()
{
return 0;
}
/// <summary>Allocates a <see cref="F:System.Runtime.InteropServices.GCHandleType.Normal" /> handle for the specified object.</summary>
/// <param name="value">The object that uses the <see cref="T:System.Runtime.InteropServices.GCHandle" />.</param>
/// <returns>A new <see cref="T:System.Runtime.InteropServices.GCHandle" /> that protects the object from garbage collection. This <see cref="T:System.Runtime.InteropServices.GCHandle" /> must be released with <see cref="M:System.Runtime.InteropServices.GCHandle.Free" /> when it is no longer needed.</returns>
/// <exception cref="T:System.ArgumentException">An instance with nonprimitive (non-blittable) members cannot be pinned.</exception>
// Token: 0x06002ADC RID: 10972 RVA: 0x00016AB8 File Offset: 0x00014CB8
[Token(Token = "0x6002ADC")]
[Address(RVA = "0x2379AD0", Offset = "0x23788D0", VA = "0x182379AD0")]
public static GCHandle Alloc(object value)
{
return default(GCHandle);
}
/// <summary>Allocates a handle of the specified type for the specified object.</summary>
/// <param name="value">The object that uses the <see cref="T:System.Runtime.InteropServices.GCHandle" />.</param>
/// <param name="type">One of the <see cref="T:System.Runtime.InteropServices.GCHandleType" /> values, indicating the type of <see cref="T:System.Runtime.InteropServices.GCHandle" /> to create.</param>
/// <returns>A new <see cref="T:System.Runtime.InteropServices.GCHandle" /> of the specified type. This <see cref="T:System.Runtime.InteropServices.GCHandle" /> must be released with <see cref="M:System.Runtime.InteropServices.GCHandle.Free" /> when it is no longer needed.</returns>
/// <exception cref="T:System.ArgumentException">An instance with nonprimitive (non-blittable) members cannot be pinned.</exception>
// Token: 0x06002ADD RID: 10973 RVA: 0x00016AD0 File Offset: 0x00014CD0
[Token(Token = "0x6002ADD")]
[Address(RVA = "0x2379AB0", Offset = "0x23788B0", VA = "0x182379AB0")]
public static GCHandle Alloc(object value, GCHandleType type)
{
return default(GCHandle);
}
/// <summary>Releases a <see cref="T:System.Runtime.InteropServices.GCHandle" />.</summary>
/// <exception cref="T:System.InvalidOperationException">The handle was freed or never initialized.</exception>
// Token: 0x06002ADE RID: 10974 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002ADE")]
[Address(RVA = "0x2379B80", Offset = "0x2378980", VA = "0x182379B80")]
public void Free()
{
}
/// <summary>A <see cref="T:System.Runtime.InteropServices.GCHandle" /> is stored using an internal integer representation.</summary>
/// <param name="value">The <see cref="T:System.Runtime.InteropServices.GCHandle" /> for which the integer is required.</param>
/// <returns>The integer value.</returns>
// Token: 0x06002ADF RID: 10975 RVA: 0x00016AE8 File Offset: 0x00014CE8
[Token(Token = "0x6002ADF")]
[Address(RVA = "0x2379D00", Offset = "0x2378B00", VA = "0x182379D00")]
public static explicit operator IntPtr(GCHandle value)
{
return 0;
}
/// <summary>A <see cref="T:System.Runtime.InteropServices.GCHandle" /> is stored using an internal integer representation.</summary>
/// <param name="value">An <see cref="T:System.IntPtr" /> that indicates the handle for which the conversion is required.</param>
/// <returns>The stored <see cref="T:System.Runtime.InteropServices.GCHandle" /> object using an internal integer representation.</returns>
// Token: 0x06002AE0 RID: 10976 RVA: 0x00016B00 File Offset: 0x00014D00
[Token(Token = "0x6002AE0")]
[Address(RVA = "0x2379C10", Offset = "0x2378A10", VA = "0x182379C10")]
public static explicit operator GCHandle(IntPtr value)
{
return default(GCHandle);
}
// Token: 0x06002AE1 RID: 10977 RVA: 0x00016B18 File Offset: 0x00014D18
[Token(Token = "0x6002AE1")]
[Address(RVA = "0x2379AE0", Offset = "0x23788E0", VA = "0x182379AE0")]
private static bool CheckCurrentDomain(int handle)
{
return default(bool);
}
// Token: 0x06002AE2 RID: 10978 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002AE2")]
[Address(RVA = "0x2379CF0", Offset = "0x2378AF0", VA = "0x182379CF0")]
private static object GetTarget(int handle)
{
return null;
}
// Token: 0x06002AE3 RID: 10979 RVA: 0x00016B30 File Offset: 0x00014D30
[Token(Token = "0x6002AE3")]
[Address(RVA = "0x2379CE0", Offset = "0x2378AE0", VA = "0x182379CE0")]
private static int GetTargetHandle(object obj, int handle, GCHandleType type)
{
return 0;
}
// Token: 0x06002AE4 RID: 10980 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AE4")]
[Address(RVA = "0x2379B70", Offset = "0x2378970", VA = "0x182379B70")]
private static void FreeHandle(int handle)
{
}
// Token: 0x06002AE5 RID: 10981 RVA: 0x00016B48 File Offset: 0x00014D48
[Token(Token = "0x6002AE5")]
[Address(RVA = "0x2379CD0", Offset = "0x2378AD0", VA = "0x182379CD0")]
private static IntPtr GetAddrOfPinnedObject(int handle)
{
return 0;
}
/// <summary>Returns a value indicating whether two <see cref="T:System.Runtime.InteropServices.GCHandle" /> objects are equal.</summary>
/// <param name="a">A <see cref="T:System.Runtime.InteropServices.GCHandle" /> object to compare with the <paramref name="b" /> parameter.</param>
/// <param name="b">A <see cref="T:System.Runtime.InteropServices.GCHandle" /> object to compare with the <paramref name="a" /> parameter.</param>
/// <returns>
/// <see langword="true" /> if the <paramref name="a" /> and <paramref name="b" /> parameters are equal; otherwise, <see langword="false" />.</returns>
// Token: 0x06002AE6 RID: 10982 RVA: 0x00016B60 File Offset: 0x00014D60
[Token(Token = "0x6002AE6")]
[Address(RVA = "0x164A970", Offset = "0x1649770", VA = "0x18164A970")]
public static bool operator ==(GCHandle a, GCHandle b)
{
return default(bool);
}
/// <summary>Determines whether the specified <see cref="T:System.Runtime.InteropServices.GCHandle" /> object is equal to the current <see cref="T:System.Runtime.InteropServices.GCHandle" /> object.</summary>
/// <param name="o">The <see cref="T:System.Runtime.InteropServices.GCHandle" /> object to compare with the current <see cref="T:System.Runtime.InteropServices.GCHandle" /> object.</param>
/// <returns>
/// <see langword="true" /> if the specified <see cref="T:System.Runtime.InteropServices.GCHandle" /> object is equal to the current <see cref="T:System.Runtime.InteropServices.GCHandle" /> object; otherwise, <see langword="false" />.</returns>
// Token: 0x06002AE7 RID: 10983 RVA: 0x00016B78 File Offset: 0x00014D78
[Token(Token = "0x6002AE7")]
[Address(RVA = "0x2379AF0", Offset = "0x23788F0", VA = "0x182379AF0", Slot = "0")]
public override bool Equals(object o)
{
return default(bool);
}
/// <summary>Returns an identifier for the current <see cref="T:System.Runtime.InteropServices.GCHandle" /> object.</summary>
/// <returns>An identifier for the current <see cref="T:System.Runtime.InteropServices.GCHandle" /> object.</returns>
// Token: 0x06002AE8 RID: 10984 RVA: 0x00016B90 File Offset: 0x00014D90
[Token(Token = "0x6002AE8")]
[Address(RVA = "0x164A950", Offset = "0x1649750", VA = "0x18164A950", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// <summary>Returns a new <see cref="T:System.Runtime.InteropServices.GCHandle" /> object created from a handle to a managed object.</summary>
/// <param name="value">An <see cref="T:System.IntPtr" /> handle to a managed object to create a <see cref="T:System.Runtime.InteropServices.GCHandle" /> object from.</param>
/// <returns>A new <see cref="T:System.Runtime.InteropServices.GCHandle" /> object that corresponds to the value parameter.</returns>
/// <exception cref="T:System.InvalidOperationException">The value of the <paramref name="value" /> parameter is <see cref="F:System.IntPtr.Zero" />.</exception>
// Token: 0x06002AE9 RID: 10985 RVA: 0x00016BA8 File Offset: 0x00014DA8
[Token(Token = "0x6002AE9")]
[Address(RVA = "0x2379C10", Offset = "0x2378A10", VA = "0x182379C10")]
public static GCHandle FromIntPtr(IntPtr value)
{
return default(GCHandle);
}
/// <summary>Returns the internal integer representation of a <see cref="T:System.Runtime.InteropServices.GCHandle" /> object.</summary>
/// <param name="value">A <see cref="T:System.Runtime.InteropServices.GCHandle" /> object to retrieve an internal integer representation from.</param>
/// <returns>An <see cref="T:System.IntPtr" /> object that represents a <see cref="T:System.Runtime.InteropServices.GCHandle" /> object.</returns>
// Token: 0x06002AEA RID: 10986 RVA: 0x00016BC0 File Offset: 0x00014DC0
[Token(Token = "0x6002AEA")]
[Address(RVA = "0x2379D00", Offset = "0x2378B00", VA = "0x182379D00")]
public static IntPtr ToIntPtr(GCHandle value)
{
return 0;
}
// Token: 0x0400193B RID: 6459
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x400193B")]
private int handle;
}
}
@@ -0,0 +1,30 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Represents the types of handles the <see cref="T:System.Runtime.InteropServices.GCHandle" /> class can allocate.</summary>
// Token: 0x02000587 RID: 1415
[Token(Token = "0x2000587")]
[ComVisible(true)]
[Serializable]
public enum GCHandleType
{
/// <summary>This handle type is used to track an object, but allow it to be collected. When an object is collected, the contents of the <see cref="T:System.Runtime.InteropServices.GCHandle" /> are zeroed. <see langword="Weak" /> references are zeroed before the finalizer runs, so even if the finalizer resurrects the object, the <see langword="Weak" /> reference is still zeroed.</summary>
// Token: 0x0400193D RID: 6461
[Token(Token = "0x400193D")]
Weak,
/// <summary>This handle type is similar to <see cref="F:System.Runtime.InteropServices.GCHandleType.Weak" />, but the handle is not zeroed if the object is resurrected during finalization.</summary>
// Token: 0x0400193E RID: 6462
[Token(Token = "0x400193E")]
WeakTrackResurrection,
/// <summary>This handle type represents an opaque handle, meaning you cannot resolve the address of the pinned object through the handle. You can use this type to track an object and prevent its collection by the garbage collector. This enumeration member is useful when an unmanaged client holds the only reference, which is undetectable from the garbage collector, to a managed object.</summary>
// Token: 0x0400193F RID: 6463
[Token(Token = "0x400193F")]
Normal,
/// <summary>This handle type is similar to <see cref="F:System.Runtime.InteropServices.GCHandleType.Normal" />, but allows the address of the pinned object to be taken. This prevents the garbage collector from moving the object and hence undermines the efficiency of the garbage collector. Use the <see cref="M:System.Runtime.InteropServices.GCHandle.Free" /> method to free the allocated handle as soon as possible.</summary>
// Token: 0x04001940 RID: 6464
[Token(Token = "0x4001940")]
Pinned
}
}
@@ -0,0 +1,42 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Supplies an explicit <see cref="T:System.Guid" /> when an automatic GUID is undesirable.</summary>
// Token: 0x02000570 RID: 1392
[Token(Token = "0x2000570")]
[ComVisible(true)]
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Delegate)]
public sealed class GuidAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.GuidAttribute" /> class with the specified GUID.</summary>
/// <param name="guid">The <see cref="T:System.Guid" /> to be assigned.</param>
// Token: 0x06002A9C RID: 10908 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A9C")]
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
public GuidAttribute(string guid)
{
}
/// <summary>Gets the <see cref="T:System.Guid" /> of the class.</summary>
/// <returns>The <see cref="T:System.Guid" /> of the class.</returns>
// Token: 0x1700064F RID: 1615
// (get) Token: 0x06002A9D RID: 10909 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x1700064F")]
public string Value
{
[Token(Token = "0x6002A9D")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
get
{
return null;
}
}
// Token: 0x0400190F RID: 6415
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x400190F")]
internal string _val;
}
}
@@ -0,0 +1,47 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Wraps a managed object holding a handle to a resource that is passed to unmanaged code using platform invoke.</summary>
// Token: 0x0200057F RID: 1407
[Token(Token = "0x200057F")]
[ComVisible(true)]
public struct HandleRef
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.HandleRef" /> class with the object to wrap and a handle to the resource used by unmanaged code.</summary>
/// <param name="wrapper">A managed object that should not be finalized until the platform invoke call returns.</param>
/// <param name="handle">An <see cref="T:System.IntPtr" /> that indicates a handle to a resource.</param>
// Token: 0x06002AB5 RID: 10933 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AB5")]
[Address(RVA = "0x479F00", Offset = "0x478D00", VA = "0x180479F00")]
public HandleRef(object wrapper, IntPtr handle)
{
}
/// <summary>Gets the handle to a resource.</summary>
/// <returns>The handle to a resource.</returns>
// Token: 0x17000652 RID: 1618
// (get) Token: 0x06002AB6 RID: 10934 RVA: 0x00016A40 File Offset: 0x00014C40
[Token(Token = "0x17000652")]
public IntPtr Handle
{
[Token(Token = "0x6002AB6")]
[Address(RVA = "0x57C630", Offset = "0x57B430", VA = "0x18057C630")]
get
{
return 0;
}
}
// Token: 0x04001933 RID: 6451
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4001933")]
internal object m_wrapper;
// Token: 0x04001934 RID: 6452
[FieldOffset(Offset = "0x8")]
[Token(Token = "0x4001934")]
internal IntPtr m_handle;
}
}
@@ -0,0 +1,49 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Provides custom wrappers for handling method calls.</summary>
// Token: 0x02000580 RID: 1408
[Token(Token = "0x2000580")]
[ComVisible(true)]
public interface ICustomMarshaler
{
/// <summary>Converts the unmanaged data to managed data.</summary>
/// <param name="pNativeData">A pointer to the unmanaged data to be wrapped.</param>
/// <returns>An object that represents the managed view of the COM data.</returns>
// Token: 0x06002AB7 RID: 10935
[Token(Token = "0x6002AB7")]
[Address(Slot = "0")]
object MarshalNativeToManaged(IntPtr pNativeData);
/// <summary>Converts the managed data to unmanaged data.</summary>
/// <param name="ManagedObj">The managed object to be converted.</param>
/// <returns>A pointer to the COM view of the managed object.</returns>
// Token: 0x06002AB8 RID: 10936
[Token(Token = "0x6002AB8")]
[Address(Slot = "1")]
IntPtr MarshalManagedToNative(object ManagedObj);
/// <summary>Performs necessary cleanup of the unmanaged data when it is no longer needed.</summary>
/// <param name="pNativeData">A pointer to the unmanaged data to be destroyed.</param>
// Token: 0x06002AB9 RID: 10937
[Token(Token = "0x6002AB9")]
[Address(Slot = "2")]
void CleanUpNativeData(IntPtr pNativeData);
/// <summary>Performs necessary cleanup of the managed data when it is no longer needed.</summary>
/// <param name="ManagedObj">The managed object to be destroyed.</param>
// Token: 0x06002ABA RID: 10938
[Token(Token = "0x6002ABA")]
[Address(Slot = "3")]
void CleanUpManagedData(object ManagedObj);
/// <summary>Returns the size of the native data to be marshaled.</summary>
/// <returns>The size, in bytes, of the native data.</returns>
// Token: 0x06002ABB RID: 10939
[Token(Token = "0x6002ABB")]
[Address(Slot = "4")]
int GetNativeDataSize();
}
}
@@ -0,0 +1,21 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Indicates that data should be marshaled from the caller to the callee, but not back to the caller.</summary>
// Token: 0x02000572 RID: 1394
[Token(Token = "0x2000572")]
[AttributeUsage(AttributeTargets.Parameter)]
[ComVisible(true)]
public sealed class InAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.InAttribute" /> class.</summary>
// Token: 0x06002A9F RID: 10911 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A9F")]
[Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")]
public InAttribute()
{
}
}
}
@@ -0,0 +1,27 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Indicates whether a managed interface is dual, dispatch-only, or <see langword="IUnknown" /> -only when exposed to COM.</summary>
// Token: 0x02000568 RID: 1384
[Token(Token = "0x2000568")]
[AttributeUsage(AttributeTargets.Interface)]
[ComVisible(true)]
public sealed class InterfaceTypeAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.InterfaceTypeAttribute" /> class with the specified <see cref="T:System.Runtime.InteropServices.ComInterfaceType" /> enumeration member.</summary>
/// <param name="interfaceType">One of the <see cref="T:System.Runtime.InteropServices.ComInterfaceType" /> values that describes how the interface should be exposed to COM clients.</param>
// Token: 0x06002A97 RID: 10903 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A97")]
[Address(RVA = "0x4D83A0", Offset = "0x4D71A0", VA = "0x1804D83A0")]
public InterfaceTypeAttribute(ComInterfaceType interfaceType)
{
}
// Token: 0x040018B3 RID: 6323
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40018B3")]
internal ComInterfaceType _val;
}
}
@@ -0,0 +1,34 @@
using System;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>The exception thrown when an invalid COM object is used.</summary>
// Token: 0x02000581 RID: 1409
[Token(Token = "0x2000581")]
[ComVisible(true)]
[Serializable]
public class InvalidComObjectException : SystemException
{
/// <summary>Initializes an instance of the <see langword="InvalidComObjectException" /> with default properties.</summary>
// Token: 0x06002ABC RID: 10940 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002ABC")]
[Address(RVA = "0x237AEC0", Offset = "0x2379CC0", VA = "0x18237AEC0")]
public InvalidComObjectException()
{
}
/// <summary>Initializes a new instance of the <see langword="COMException" /> class from serialization data.</summary>
/// <param name="info">The object that holds the serialized object data.</param>
/// <param name="context">The contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="info" /> is <see langword="null" />.</exception>
// Token: 0x06002ABD RID: 10941 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002ABD")]
[Address(RVA = "0x3F60E0", Offset = "0x3F4EE0", VA = "0x1803F60E0")]
protected InvalidComObjectException(SerializationInfo info, StreamingContext context)
{
}
}
}
@@ -0,0 +1,34 @@
using System;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>The exception thrown by the marshaler when it encounters an argument of a variant type that can not be marshaled to managed code.</summary>
// Token: 0x02000582 RID: 1410
[Token(Token = "0x2000582")]
[ComVisible(true)]
[Serializable]
public class InvalidOleVariantTypeException : SystemException
{
/// <summary>Initializes a new instance of the <see langword="InvalidOleVariantTypeException" /> class with default values.</summary>
// Token: 0x06002ABE RID: 10942 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002ABE")]
[Address(RVA = "0x237AF20", Offset = "0x2379D20", VA = "0x18237AF20")]
public InvalidOleVariantTypeException()
{
}
/// <summary>Initializes a new instance of the <see langword="InvalidOleVariantTypeException" /> class from serialization data.</summary>
/// <param name="info">The object that holds the serialized object data.</param>
/// <param name="context">The contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="info" /> is <see langword="null" />.</exception>
// Token: 0x06002ABF RID: 10943 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002ABF")]
[Address(RVA = "0x3F60E0", Offset = "0x3F4EE0", VA = "0x1803F60E0")]
protected InvalidOleVariantTypeException(SerializationInfo info, StreamingContext context)
{
}
}
}
@@ -0,0 +1,949 @@
using System;
using System.Runtime.ConstrainedExecution;
using System.Security;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Provides a collection of methods for allocating unmanaged memory, copying unmanaged memory blocks, and converting managed to unmanaged types, as well as other miscellaneous methods used when interacting with unmanaged code.</summary>
// Token: 0x02000588 RID: 1416
[Token(Token = "0x2000588")]
public static class Marshal
{
// Token: 0x06002AEB RID: 10987 RVA: 0x00016BD8 File Offset: 0x00014DD8
[Token(Token = "0x6002AEB")]
[Address(RVA = "0x237DD80", Offset = "0x237CB80", VA = "0x18237DD80")]
private static int AddRefInternal(IntPtr pUnk)
{
return 0;
}
/// <summary>Increments the reference count on the specified interface.</summary>
/// <param name="pUnk">The interface reference count to increment.</param>
/// <returns>The new value of the reference count on the <paramref name="pUnk" /> parameter.</returns>
// Token: 0x06002AEC RID: 10988 RVA: 0x00016BF0 File Offset: 0x00014DF0
[Token(Token = "0x6002AEC")]
[Address(RVA = "0x237DD90", Offset = "0x237CB90", VA = "0x18237DD90")]
public static int AddRef(IntPtr pUnk)
{
return 0;
}
/// <summary>Allocates a block of memory of specified size from the COM task memory allocator.</summary>
/// <param name="cb">The size of the block of memory to be allocated.</param>
/// <returns>An integer representing the address of the block of memory allocated. This memory must be released with <see cref="M:System.Runtime.InteropServices.Marshal.FreeCoTaskMem(System.IntPtr)" />.</returns>
/// <exception cref="T:System.OutOfMemoryException">There is insufficient memory to satisfy the request.</exception>
// Token: 0x06002AED RID: 10989 RVA: 0x00016C08 File Offset: 0x00014E08
[Token(Token = "0x6002AED")]
[Address(RVA = "0x237DE30", Offset = "0x237CC30", VA = "0x18237DE30")]
public static IntPtr AllocCoTaskMem(int cb)
{
return 0;
}
/// <summary>Allocates memory from the unmanaged memory of the process by using the pointer to the specified number of bytes.</summary>
/// <param name="cb">The required number of bytes in memory.</param>
/// <returns>A pointer to the newly allocated memory. This memory must be released using the <see cref="M:System.Runtime.InteropServices.Marshal.FreeHGlobal(System.IntPtr)" /> method.</returns>
/// <exception cref="T:System.OutOfMemoryException">There is insufficient memory to satisfy the request.</exception>
// Token: 0x06002AEE RID: 10990 RVA: 0x00016C20 File Offset: 0x00014E20
[Token(Token = "0x6002AEE")]
[Address(RVA = "0x237DE40", Offset = "0x237CC40", VA = "0x18237DE40")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
public static IntPtr AllocHGlobal(IntPtr cb)
{
return 0;
}
/// <summary>Allocates memory from the unmanaged memory of the process by using the specified number of bytes.</summary>
/// <param name="cb">The required number of bytes in memory.</param>
/// <returns>A pointer to the newly allocated memory. This memory must be released using the <see cref="M:System.Runtime.InteropServices.Marshal.FreeHGlobal(System.IntPtr)" /> method.</returns>
/// <exception cref="T:System.OutOfMemoryException">There is insufficient memory to satisfy the request.</exception>
// Token: 0x06002AEF RID: 10991 RVA: 0x00016C38 File Offset: 0x00014E38
[Token(Token = "0x6002AEF")]
[Address(RVA = "0x237DE50", Offset = "0x237CC50", VA = "0x18237DE50")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
public static IntPtr AllocHGlobal(int cb)
{
return 0;
}
// Token: 0x06002AF0 RID: 10992 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AF0")]
[Address(RVA = "0x23805D0", Offset = "0x237F3D0", VA = "0x1823805D0")]
internal static void copy_to_unmanaged(Array source, int startIndex, IntPtr destination, int length)
{
}
// Token: 0x06002AF1 RID: 10993 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AF1")]
[Address(RVA = "0x23805C0", Offset = "0x237F3C0", VA = "0x1823805C0")]
internal static void copy_from_unmanaged(IntPtr source, int startIndex, Array destination, int length)
{
}
/// <summary>Copies data from a one-dimensional, managed 8-bit unsigned integer array to an unmanaged memory pointer.</summary>
/// <param name="source">The one-dimensional array to copy from.</param>
/// <param name="startIndex">The zero-based index in the source array where copying should start.</param>
/// <param name="destination">The memory pointer to copy to.</param>
/// <param name="length">The number of array elements to copy.</param>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="startIndex" /> and <paramref name="length" /> are not valid.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="source" />, <paramref name="startIndex" />, <paramref name="destination" />, or <paramref name="length" /> is <see langword="null" />.</exception>
// Token: 0x06002AF2 RID: 10994 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AF2")]
[Address(RVA = "0x237ECE0", Offset = "0x237DAE0", VA = "0x18237ECE0")]
public static void Copy(byte[] source, int startIndex, IntPtr destination, int length)
{
}
/// <summary>Copies data from a one-dimensional, managed <see cref="T:System.IntPtr" /> array to an unmanaged memory pointer.</summary>
/// <param name="source">The one-dimensional array to copy from.</param>
/// <param name="startIndex">The zero-based index in the source array where copying should start.</param>
/// <param name="destination">The memory pointer to copy to.</param>
/// <param name="length">The number of array elements to copy.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="source" />, <paramref name="destination" />, <paramref name="startIndex" />, or <paramref name="length" /> is <see langword="null" />.</exception>
// Token: 0x06002AF3 RID: 10995 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AF3")]
[Address(RVA = "0x237EEE0", Offset = "0x237DCE0", VA = "0x18237EEE0")]
public static void Copy(IntPtr[] source, int startIndex, IntPtr destination, int length)
{
}
/// <summary>Copies data from an unmanaged memory pointer to a managed 8-bit unsigned integer array.</summary>
/// <param name="source">The memory pointer to copy from.</param>
/// <param name="destination">The array to copy to.</param>
/// <param name="startIndex">The zero-based index in the destination array where copying should start.</param>
/// <param name="length">The number of array elements to copy.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="source" />, <paramref name="destination" />, <paramref name="startIndex" />, or <paramref name="length" /> is <see langword="null" />.</exception>
// Token: 0x06002AF4 RID: 10996 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AF4")]
[Address(RVA = "0x237EE60", Offset = "0x237DC60", VA = "0x18237EE60")]
public static void Copy(IntPtr source, byte[] destination, int startIndex, int length)
{
}
/// <summary>Copies data from an unmanaged memory pointer to a managed character array.</summary>
/// <param name="source">The memory pointer to copy from.</param>
/// <param name="destination">The array to copy to.</param>
/// <param name="startIndex">The zero-based index in the destination array where copying should start.</param>
/// <param name="length">The number of array elements to copy.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="source" />, <paramref name="destination" />, <paramref name="startIndex" />, or <paramref name="length" /> is <see langword="null" />.</exception>
// Token: 0x06002AF5 RID: 10997 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AF5")]
[Address(RVA = "0x237EDE0", Offset = "0x237DBE0", VA = "0x18237EDE0")]
public static void Copy(IntPtr source, char[] destination, int startIndex, int length)
{
}
/// <summary>Copies data from an unmanaged memory pointer to a managed 16-bit signed integer array.</summary>
/// <param name="source">The memory pointer to copy from.</param>
/// <param name="destination">The array to copy to.</param>
/// <param name="startIndex">The zero-based index in the destination array where copying should start.</param>
/// <param name="length">The number of array elements to copy.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="source" />, <paramref name="destination" />, <paramref name="startIndex" />, or <paramref name="length" /> is <see langword="null" />.</exception>
// Token: 0x06002AF6 RID: 10998 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AF6")]
[Address(RVA = "0x237EF60", Offset = "0x237DD60", VA = "0x18237EF60")]
public static void Copy(IntPtr source, short[] destination, int startIndex, int length)
{
}
/// <summary>Copies data from an unmanaged memory pointer to a managed single-precision floating-point number array.</summary>
/// <param name="source">The memory pointer to copy from.</param>
/// <param name="destination">The array to copy to.</param>
/// <param name="startIndex">The zero-based index in the destination array where copying should start.</param>
/// <param name="length">The number of array elements to copy.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="source" />, <paramref name="destination" />, <paramref name="startIndex" />, or <paramref name="length" /> is <see langword="null" />.</exception>
// Token: 0x06002AF7 RID: 10999 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AF7")]
[Address(RVA = "0x237ED60", Offset = "0x237DB60", VA = "0x18237ED60")]
public static void Copy(IntPtr source, float[] destination, int startIndex, int length)
{
}
/// <summary>Frees all substructures that the specified unmanaged memory block points to.</summary>
/// <param name="ptr">A pointer to an unmanaged block of memory.</param>
/// <param name="structuretype">Type of a formatted class. This provides the layout information necessary to delete the buffer in the <paramref name="ptr" /> parameter.</param>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="structureType" /> has an automatic layout. Use sequential or explicit instead.</exception>
// Token: 0x06002AF8 RID: 11000 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AF8")]
[Address(RVA = "0x237EFE0", Offset = "0x237DDE0", VA = "0x18237EFE0")]
[ComVisible(true)]
public static void DestroyStructure(IntPtr ptr, Type structuretype)
{
}
/// <summary>Frees a <see langword="BSTR" /> using the COM SysFreeString function.</summary>
/// <param name="ptr">The address of the BSTR to be freed.</param>
// Token: 0x06002AF9 RID: 11001 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AF9")]
[Address(RVA = "0x237EFF0", Offset = "0x237DDF0", VA = "0x18237EFF0")]
public static void FreeBSTR(IntPtr ptr)
{
}
/// <summary>Frees a block of memory allocated by the unmanaged COM task memory allocator.</summary>
/// <param name="ptr">The address of the memory to be freed.</param>
// Token: 0x06002AFA RID: 11002 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AFA")]
[Address(RVA = "0x237F000", Offset = "0x237DE00", VA = "0x18237F000")]
public static void FreeCoTaskMem(IntPtr ptr)
{
}
/// <summary>Frees memory previously allocated from the unmanaged memory of the process.</summary>
/// <param name="hglobal">The handle returned by the original matching call to <see cref="M:System.Runtime.InteropServices.Marshal.AllocHGlobal(System.IntPtr)" />.</param>
// Token: 0x06002AFB RID: 11003 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AFB")]
[Address(RVA = "0x237F010", Offset = "0x237DE10", VA = "0x18237F010")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
public static void FreeHGlobal(IntPtr hglobal)
{
}
// Token: 0x06002AFC RID: 11004 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AFC")]
[Address(RVA = "0x237DEB0", Offset = "0x237CCB0", VA = "0x18237DEB0")]
private static void ClearBSTR(IntPtr ptr)
{
}
/// <summary>Frees a BSTR pointer that was allocated using the <see cref="M:System.Runtime.InteropServices.Marshal.SecureStringToBSTR(System.Security.SecureString)" /> method.</summary>
/// <param name="s">The address of the <see langword="BSTR" /> to free.</param>
// Token: 0x06002AFD RID: 11005 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AFD")]
[Address(RVA = "0x23802D0", Offset = "0x237F0D0", VA = "0x1823802D0")]
public static void ZeroFreeBSTR(IntPtr s)
{
}
// Token: 0x06002AFE RID: 11006 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AFE")]
[Address(RVA = "0x237DF90", Offset = "0x237CD90", VA = "0x18237DF90")]
private static void ClearUnicode(IntPtr ptr)
{
}
/// <summary>Frees an unmanaged string pointer that was allocated using the <see cref="M:System.Runtime.InteropServices.Marshal.SecureStringToGlobalAllocUnicode(System.Security.SecureString)" /> method.</summary>
/// <param name="s">The address of the unmanaged string to free.</param>
// Token: 0x06002AFF RID: 11007 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AFF")]
[Address(RVA = "0x2380400", Offset = "0x237F200", VA = "0x182380400")]
public static void ZeroFreeGlobalAllocUnicode(IntPtr s)
{
}
// Token: 0x06002B00 RID: 11008 RVA: 0x00016C50 File Offset: 0x00014E50
[Token(Token = "0x6002B00")]
[Address(RVA = "0x237F020", Offset = "0x237DE20", VA = "0x18237F020")]
private static IntPtr GetCCW(object o, Type T)
{
return 0;
}
// Token: 0x06002B01 RID: 11009 RVA: 0x00016C68 File Offset: 0x00014E68
[Token(Token = "0x6002B01")]
[Address(RVA = "0x237F030", Offset = "0x237DE30", VA = "0x18237F030")]
private static IntPtr GetComInterfaceForObjectInternal(object o, Type T)
{
return 0;
}
/// <summary>Returns a pointer to an IUnknown interface that represents the specified interface on the specified object. Custom query interface access is enabled by default.</summary>
/// <param name="o">The object that provides the interface.</param>
/// <param name="T">The type of interface that is requested.</param>
/// <returns>The interface pointer that represents the specified interface for the object.</returns>
/// <exception cref="T:System.ArgumentException">The <typeparamref name="T" /> parameter is not an interface.
/// -or-
/// The type is not visible to COM.
/// -or-
/// The <typeparamref name="T" /> parameter is a generic type definition.</exception>
/// <exception cref="T:System.InvalidCastException">The <paramref name="o" /> parameter does not support the requested interface.</exception>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="o" /> parameter is <see langword="null" />.
/// -or-
/// The <typeparamref name="T" /> parameter is <see langword="null" />.</exception>
// Token: 0x06002B02 RID: 11010 RVA: 0x00016C80 File Offset: 0x00014E80
[Token(Token = "0x6002B02")]
[Address(RVA = "0x237F090", Offset = "0x237DE90", VA = "0x18237F090")]
public static IntPtr GetComInterfaceForObject(object o, Type T)
{
return 0;
}
/// <summary>Converts the specified exception to an HRESULT.</summary>
/// <param name="e">The exception to convert to an HRESULT.</param>
/// <returns>The HRESULT mapped to the supplied exception.</returns>
// Token: 0x06002B03 RID: 11011 RVA: 0x00016C98 File Offset: 0x00014E98
[Token(Token = "0x6002B03")]
[Address(RVA = "0x237F500", Offset = "0x237E300", VA = "0x18237F500")]
public static int GetHRForException(Exception e)
{
return 0;
}
/// <summary>Returns the error code returned by the last unmanaged function that was called using platform invoke that has the <see cref="F:System.Runtime.InteropServices.DllImportAttribute.SetLastError" /> flag set.</summary>
/// <returns>The last error code set by a call to the Win32 SetLastError function.</returns>
// Token: 0x06002B04 RID: 11012 RVA: 0x00016CB0 File Offset: 0x00014EB0
[Token(Token = "0x6002B04")]
[Address(RVA = "0x237F510", Offset = "0x237E310", VA = "0x18237F510")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
public static int GetLastWin32Error()
{
return 0;
}
/// <summary>Performs a pre-link check for all methods on a class.</summary>
/// <param name="c">The class whose methods are to be checked.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="c" /> parameter is <see langword="null" />.</exception>
// Token: 0x06002B05 RID: 11013 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002B05")]
[Address(RVA = "0x237F520", Offset = "0x237E320", VA = "0x18237F520")]
public static void PrelinkAll(Type c)
{
}
/// <summary>Copies all characters up to the first null character from an unmanaged ANSI string to a managed <see cref="T:System.String" />, and widens each ANSI character to Unicode.</summary>
/// <param name="ptr">The address of the first character of the unmanaged string.</param>
/// <returns>A managed string that holds a copy of the unmanaged ANSI string. If <paramref name="ptr" /> is <see langword="null" />, the method returns a null string.</returns>
// Token: 0x06002B06 RID: 11014 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002B06")]
[Address(RVA = "0x237F540", Offset = "0x237E340", VA = "0x18237F540")]
public static string PtrToStringAnsi(IntPtr ptr)
{
return null;
}
/// <summary>Allocates a managed <see cref="T:System.String" />, copies a specified number of characters from an unmanaged ANSI string into it, and widens each ANSI character to Unicode.</summary>
/// <param name="ptr">The address of the first character of the unmanaged string.</param>
/// <param name="len">The byte count of the input string to copy.</param>
/// <returns>A managed string that holds a copy of the native ANSI string if the value of the <paramref name="ptr" /> parameter is not <see langword="null" />; otherwise, this method returns <see langword="null" />.</returns>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="len" /> is less than zero.</exception>
// Token: 0x06002B07 RID: 11015 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002B07")]
[Address(RVA = "0x237F530", Offset = "0x237E330", VA = "0x18237F530")]
public static string PtrToStringAnsi(IntPtr ptr, int len)
{
return null;
}
/// <summary>Allocates a managed <see cref="T:System.String" /> and copies all characters up to the first null character from a string stored in unmanaged memory into it.</summary>
/// <param name="ptr">For Unicode platforms, the address of the first Unicode character.
/// -or-
/// For ANSI plaforms, the address of the first ANSI character.</param>
/// <returns>A managed string that holds a copy of the unmanaged string if the value of the <paramref name="ptr" /> parameter is not <see langword="null" />; otherwise, this method returns <see langword="null" />.</returns>
// Token: 0x06002B08 RID: 11016 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002B08")]
[Address(RVA = "0x237F550", Offset = "0x237E350", VA = "0x18237F550")]
public static string PtrToStringAuto(IntPtr ptr)
{
return null;
}
/// <summary>Allocates a managed <see cref="T:System.String" /> and copies all characters up to the first null character from an unmanaged Unicode string into it.</summary>
/// <param name="ptr">The address of the first character of the unmanaged string.</param>
/// <returns>A managed string that holds a copy of the unmanaged string if the value of the <paramref name="ptr" /> parameter is not <see langword="null" />; otherwise, this method returns <see langword="null" />.</returns>
// Token: 0x06002B09 RID: 11017 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002B09")]
[Address(RVA = "0x237F600", Offset = "0x237E400", VA = "0x18237F600")]
public static string PtrToStringUni(IntPtr ptr)
{
return null;
}
/// <summary>Allocates a managed <see cref="T:System.String" /> and copies a binary string (BSTR) stored in unmanaged memory into it.</summary>
/// <param name="ptr">The address of the first character of the unmanaged string.</param>
/// <returns>A managed string that holds a copy of the unmanaged string.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="ptr" /> equals <see cref="F:System.IntPtr.Zero" />.</exception>
// Token: 0x06002B0A RID: 11018 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002B0A")]
[Address(RVA = "0x237F5F0", Offset = "0x237E3F0", VA = "0x18237F5F0")]
public static string PtrToStringBSTR(IntPtr ptr)
{
return null;
}
/// <summary>Marshals data from an unmanaged block of memory to a managed object.</summary>
/// <param name="ptr">A pointer to an unmanaged block of memory.</param>
/// <param name="structure">The object to which the data is to be copied. This must be an instance of a formatted class.</param>
/// <exception cref="T:System.ArgumentException">Structure layout is not sequential or explicit.
/// -or-
/// Structure is a boxed value type.</exception>
// Token: 0x06002B0B RID: 11019 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002B0B")]
[Address(RVA = "0x237F610", Offset = "0x237E410", VA = "0x18237F610")]
[ComVisible(true)]
public static void PtrToStructure(IntPtr ptr, object structure)
{
}
/// <summary>Marshals data from an unmanaged block of memory to a newly allocated managed object of the specified type.</summary>
/// <param name="ptr">A pointer to an unmanaged block of memory.</param>
/// <param name="structureType">The type of object to be created. This object must represent a formatted class or a structure.</param>
/// <returns>A managed object containing the data pointed to by the <paramref name="ptr" /> parameter.</returns>
/// <exception cref="T:System.ArgumentException">The <paramref name="structureType" /> parameter layout is not sequential or explicit.
/// -or-
/// The <paramref name="structureType" /> parameter is a generic type definition.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="structureType" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.MissingMethodException">The class specified by <paramref name="structureType" /> does not have an accessible default constructor.</exception>
// Token: 0x06002B0C RID: 11020 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002B0C")]
[Address(RVA = "0x237F620", Offset = "0x237E420", VA = "0x18237F620")]
[ComVisible(true)]
public static object PtrToStructure(IntPtr ptr, Type structureType)
{
return null;
}
/// <summary>[Supported in the .NET Framework 4.5.1 and later versions]
/// Marshals data from an unmanaged block of memory to a managed object of the specified type.</summary>
/// <param name="ptr">A pointer to an unmanaged block of memory.</param>
/// <param name="structure">The object to which the data is to be copied.</param>
/// <typeparam name="T">The type of <paramref name="structure" />. This must be a formatted class.</typeparam>
/// <exception cref="T:System.ArgumentException">Structure layout is not sequential or explicit.</exception>
// Token: 0x06002B0D RID: 11021 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002B0D")]
[Address(RVA = "0x16D2C80", Offset = "0x16D1A80", VA = "0x1816D2C80")]
public static void PtrToStructure<T>(IntPtr ptr, T structure)
{
}
/// <summary>[Supported in the .NET Framework 4.5.1 and later versions]
/// Marshals data from an unmanaged block of memory to a newly allocated managed object of the type specified by a generic type parameter.</summary>
/// <param name="ptr">A pointer to an unmanaged block of memory.</param>
/// <typeparam name="T">The type of the object to which the data is to be copied. This must be a formatted class or a structure.</typeparam>
/// <returns>A managed object that contains the data that the <paramref name="ptr" /> parameter points to.</returns>
/// <exception cref="T:System.ArgumentException">The layout of <typeparamref name="T" /> is not sequential or explicit.</exception>
/// <exception cref="T:System.MissingMethodException">The class specified by <typeparamref name="T" /> does not have an accessible default constructor.</exception>
// Token: 0x06002B0E RID: 11022 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002B0E")]
[Address(RVA = "0x1299A10", Offset = "0x1298810", VA = "0x181299A10")]
public static T PtrToStructure<T>(IntPtr ptr)
{
return null;
}
/// <summary>Reads a single byte at a given offset (or index) from unmanaged memory.</summary>
/// <param name="ptr">The base address in unmanaged memory from which to read.</param>
/// <param name="ofs">An additional byte offset, which is added to the <paramref name="ptr" /> parameter before reading.</param>
/// <returns>The byte read from unmanaged memory at the given offset.</returns>
/// <exception cref="T:System.AccessViolationException">Base address (<paramref name="ptr" />) plus offset byte (<paramref name="ofs" />) produces a null or invalid address.</exception>
// Token: 0x06002B0F RID: 11023 RVA: 0x00016CC8 File Offset: 0x00014EC8
[Token(Token = "0x6002B0F")]
[Address(RVA = "0x237F630", Offset = "0x237E430", VA = "0x18237F630")]
public static byte ReadByte(IntPtr ptr, int ofs)
{
return 0;
}
/// <summary>Reads a 16-bit signed integer at a given offset from unmanaged memory.</summary>
/// <param name="ptr">The base address in unmanaged memory from which to read.</param>
/// <param name="ofs">An additional byte offset, which is added to the <paramref name="ptr" /> parameter before reading.</param>
/// <returns>The 16-bit signed integer read from unmanaged memory at the given offset.</returns>
/// <exception cref="T:System.AccessViolationException">Base address (<paramref name="ptr" />) plus offset byte (<paramref name="ofs" />) produces a null or invalid address.</exception>
// Token: 0x06002B10 RID: 11024 RVA: 0x00016CE0 File Offset: 0x00014EE0
[Token(Token = "0x6002B10")]
[Address(RVA = "0x237F650", Offset = "0x237E450", VA = "0x18237F650")]
public static short ReadInt16(IntPtr ptr, int ofs)
{
return 0;
}
/// <summary>Reads a 32-bit signed integer from unmanaged memory.</summary>
/// <param name="ptr">The address in unmanaged memory from which to read.</param>
/// <returns>The 32-bit signed integer read from unmanaged memory.</returns>
/// <exception cref="T:System.AccessViolationException">
/// <paramref name="ptr" /> is not a recognized format.
/// -or-
/// <paramref name="ptr" /> is <see langword="null" />.
/// -or-
/// <paramref name="ptr" /> is invalid.</exception>
// Token: 0x06002B11 RID: 11025 RVA: 0x00016CF8 File Offset: 0x00014EF8
[Token(Token = "0x6002B11")]
[Address(RVA = "0x237F6A0", Offset = "0x237E4A0", VA = "0x18237F6A0")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
public static int ReadInt32(IntPtr ptr)
{
return 0;
}
/// <summary>Reads a 32-bit signed integer at a given offset from unmanaged memory.</summary>
/// <param name="ptr">The base address in unmanaged memory from which to read.</param>
/// <param name="ofs">An additional byte offset, which is added to the <paramref name="ptr" /> parameter before reading.</param>
/// <returns>The 32-bit signed integer read from unmanaged memory.</returns>
/// <exception cref="T:System.AccessViolationException">Base address (<paramref name="ptr" />) plus offset byte (<paramref name="ofs" />) produces a null or invalid address.</exception>
// Token: 0x06002B12 RID: 11026 RVA: 0x00016D10 File Offset: 0x00014F10
[Token(Token = "0x6002B12")]
[Address(RVA = "0x237F6E0", Offset = "0x237E4E0", VA = "0x18237F6E0")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
public static int ReadInt32(IntPtr ptr, int ofs)
{
return 0;
}
/// <summary>Reads a 64-bit signed integer from unmanaged memory.</summary>
/// <param name="ptr">The address in unmanaged memory from which to read.</param>
/// <returns>The 64-bit signed integer read from unmanaged memory.</returns>
/// <exception cref="T:System.AccessViolationException">
/// <paramref name="ptr" /> is not a recognized format.
/// -or-
/// <paramref name="ptr" /> is <see langword="null" />.
/// -or-
/// <paramref name="ptr" /> is invalid.</exception>
// Token: 0x06002B13 RID: 11027 RVA: 0x00016D28 File Offset: 0x00014F28
[Token(Token = "0x6002B13")]
[Address(RVA = "0x237F780", Offset = "0x237E580", VA = "0x18237F780")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
public static long ReadInt64(IntPtr ptr)
{
return 0L;
}
/// <summary>Reads a 64-bit signed integer at a given offset from unmanaged memory.</summary>
/// <param name="ptr">The base address in unmanaged memory from which to read.</param>
/// <param name="ofs">An additional byte offset, which is added to the <paramref name="ptr" /> parameter before reading.</param>
/// <returns>The 64-bit signed integer read from unmanaged memory at the given offset.</returns>
/// <exception cref="T:System.AccessViolationException">Base address (<paramref name="ptr" />) plus offset byte (<paramref name="ofs" />) produces a null or invalid address.</exception>
// Token: 0x06002B14 RID: 11028 RVA: 0x00016D40 File Offset: 0x00014F40
[Token(Token = "0x6002B14")]
[Address(RVA = "0x237F730", Offset = "0x237E530", VA = "0x18237F730")]
public static long ReadInt64(IntPtr ptr, int ofs)
{
return 0L;
}
/// <summary>Reads a processor native-sized integer from unmanaged memory.</summary>
/// <param name="ptr">The address in unmanaged memory from which to read.</param>
/// <returns>The integer read from unmanaged memory. A 32 bit integer is returned on 32 bit machines and a 64 bit integer is returned on 64 bit machines.</returns>
/// <exception cref="T:System.AccessViolationException">
/// <paramref name="ptr" /> is not a recognized format.
/// -or-
/// <paramref name="ptr" /> is <see langword="null" />.
/// -or-
/// <paramref name="ptr" /> is invalid.</exception>
// Token: 0x06002B15 RID: 11029 RVA: 0x00016D58 File Offset: 0x00014F58
[Token(Token = "0x6002B15")]
[Address(RVA = "0x237F8F0", Offset = "0x237E6F0", VA = "0x18237F8F0")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
public static IntPtr ReadIntPtr(IntPtr ptr)
{
return 0;
}
/// <summary>Reads a processor native sized integer at a given offset from unmanaged memory.</summary>
/// <param name="ptr">The base address in unmanaged memory from which to read.</param>
/// <param name="ofs">An additional byte offset, which is added to the <paramref name="ptr" /> parameter before reading.</param>
/// <returns>The integer read from unmanaged memory at the given offset.</returns>
/// <exception cref="T:System.AccessViolationException">Base address (<paramref name="ptr" />) plus offset byte (<paramref name="ofs" />) produces a null or invalid address.</exception>
// Token: 0x06002B16 RID: 11030 RVA: 0x00016D70 File Offset: 0x00014F70
[Token(Token = "0x6002B16")]
[Address(RVA = "0x237F7D0", Offset = "0x237E5D0", VA = "0x18237F7D0")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
public static IntPtr ReadIntPtr(IntPtr ptr, int ofs)
{
return 0;
}
// Token: 0x06002B17 RID: 11031 RVA: 0x00016D88 File Offset: 0x00014F88
[Token(Token = "0x6002B17")]
[Address(RVA = "0x237FA00", Offset = "0x237E800", VA = "0x18237FA00")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
private static int ReleaseInternal(IntPtr pUnk)
{
return 0;
}
/// <summary>Decrements the reference count on the specified interface.</summary>
/// <param name="pUnk">The interface to release.</param>
/// <returns>The new value of the reference count on the interface specified by the <paramref name="pUnk" /> parameter.</returns>
// Token: 0x06002B18 RID: 11032 RVA: 0x00016DA0 File Offset: 0x00014FA0
[Token(Token = "0x6002B18")]
[Address(RVA = "0x237FA10", Offset = "0x237E810", VA = "0x18237FA10")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
public static int Release(IntPtr pUnk)
{
return 0;
}
/// <summary>Returns the unmanaged size of an object in bytes.</summary>
/// <param name="structure">The object whose size is to be returned.</param>
/// <returns>The size of the specified object in unmanaged code.</returns>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="structure" /> parameter is <see langword="null" />.</exception>
// Token: 0x06002B19 RID: 11033 RVA: 0x00016DB8 File Offset: 0x00014FB8
[Token(Token = "0x6002B19")]
[Address(RVA = "0x237FF20", Offset = "0x237ED20", VA = "0x18237FF20")]
[ComVisible(true)]
public static int SizeOf(object structure)
{
return 0;
}
/// <summary>Returns the size of an unmanaged type in bytes.</summary>
/// <param name="t">The type whose size is to be returned.</param>
/// <returns>The size of the specified type in unmanaged code.</returns>
/// <exception cref="T:System.ArgumentException">The <paramref name="t" /> parameter is a generic type definition.</exception>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="t" /> parameter is <see langword="null" />.</exception>
// Token: 0x06002B1A RID: 11034 RVA: 0x00016DD0 File Offset: 0x00014FD0
[Token(Token = "0x6002B1A")]
[Address(RVA = "0x237FF10", Offset = "0x237ED10", VA = "0x18237FF10")]
public static int SizeOf(Type t)
{
return 0;
}
/// <summary>[Supported in the .NET Framework 4.5.1 and later versions]
/// Returns the size of an unmanaged type in bytes.</summary>
/// <typeparam name="T">The type whose size is to be returned.</typeparam>
/// <returns>The size, in bytes, of the type that is specified by the <typeparamref name="T" /> generic type parameter.</returns>
// Token: 0x06002B1B RID: 11035 RVA: 0x00016DE8 File Offset: 0x00014FE8
[Token(Token = "0x6002B1B")]
[Address(RVA = "0x2174D70", Offset = "0x2173B70", VA = "0x182174D70")]
public static int SizeOf<T>()
{
return 0;
}
/// <summary>[Supported in the .NET Framework 4.5.1 and later versions]
/// Returns the unmanaged size of an object of a specified type in bytes.</summary>
/// <param name="structure">The object whose size is to be returned.</param>
/// <typeparam name="T">The type of the <paramref name="structure" /> parameter.</typeparam>
/// <returns>The size, in bytes, of the specified object in unmanaged code.</returns>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="structure" /> parameter is <see langword="null" />.</exception>
// Token: 0x06002B1C RID: 11036 RVA: 0x00016E00 File Offset: 0x00015000
[Token(Token = "0x6002B1C")]
[Address(RVA = "0x2174E00", Offset = "0x2173C00", VA = "0x182174E00")]
public static int SizeOf<T>(T structure)
{
return 0;
}
/// <summary>Allocates a BSTR and copies the contents of a managed <see cref="T:System.String" /> into it.</summary>
/// <param name="s">The managed string to be copied.</param>
/// <returns>An unmanaged pointer to the <see langword="BSTR" />, or 0 if <paramref name="s" /> is null.</returns>
/// <exception cref="T:System.OutOfMemoryException">There is insufficient memory available.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">The length for <paramref name="s" /> is out of range.</exception>
// Token: 0x06002B1D RID: 11037 RVA: 0x00016E18 File Offset: 0x00015018
[Token(Token = "0x6002B1D")]
[Address(RVA = "0x237FF90", Offset = "0x237ED90", VA = "0x18237FF90")]
public static IntPtr StringToBSTR(string s)
{
return 0;
}
/// <summary>Copies the contents of a managed <see cref="T:System.String" /> into unmanaged memory.</summary>
/// <param name="s">A managed string to be copied.</param>
/// <returns>The address, in unmanaged memory, to where the <paramref name="s" /> was copied, or 0 if <paramref name="s" /> is <see langword="null" />.</returns>
/// <exception cref="T:System.OutOfMemoryException">The method could not allocate enough native heap memory.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="s" /> parameter exceeds the maximum length allowed by the operating system.</exception>
// Token: 0x06002B1E RID: 11038 RVA: 0x00016E30 File Offset: 0x00015030
[Token(Token = "0x6002B1E")]
[Address(RVA = "0x237FFA0", Offset = "0x237EDA0", VA = "0x18237FFA0")]
public static IntPtr StringToHGlobalUni(string s)
{
return 0;
}
/// <summary>Allocates an unmanaged binary string (BSTR) and copies the contents of a managed <see cref="T:System.Security.SecureString" /> object into it.</summary>
/// <param name="s">The managed object to copy.</param>
/// <returns>The address, in unmanaged memory, where the <paramref name="s" /> parameter was copied to, or 0 if a null object was supplied.</returns>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="s" /> parameter is <see langword="null" />.</exception>
/// <exception cref="T:System.NotSupportedException">The current computer is not running Windows 2000 Service Pack 3 or later.</exception>
/// <exception cref="T:System.OutOfMemoryException">There is insufficient memory available.</exception>
// Token: 0x06002B1F RID: 11039 RVA: 0x00016E48 File Offset: 0x00015048
[Token(Token = "0x6002B1F")]
[Address(RVA = "0x237FAB0", Offset = "0x237E8B0", VA = "0x18237FAB0")]
public static IntPtr SecureStringToBSTR(SecureString s)
{
return 0;
}
/// <summary>Copies the contents of a managed <see cref="T:System.Security.SecureString" /> object to a block of memory allocated from the unmanaged COM task allocator.</summary>
/// <param name="s">The managed object to copy.</param>
/// <returns>The address, in unmanaged memory, where the <paramref name="s" /> parameter was copied to, or 0 if a null object was supplied.</returns>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="s" /> parameter is <see langword="null" />.</exception>
/// <exception cref="T:System.NotSupportedException">The current computer is not running Windows 2000 Service Pack 3 or later.</exception>
/// <exception cref="T:System.OutOfMemoryException">There is insufficient memory available.</exception>
// Token: 0x06002B20 RID: 11040 RVA: 0x00016E60 File Offset: 0x00015060
[Token(Token = "0x6002B20")]
[Address(RVA = "0x237FC20", Offset = "0x237EA20", VA = "0x18237FC20")]
public static IntPtr SecureStringToCoTaskMemUnicode(SecureString s)
{
return 0;
}
/// <summary>Copies the contents of a managed <see cref="T:System.Security.SecureString" /> object into unmanaged memory.</summary>
/// <param name="s">The managed object to copy.</param>
/// <returns>The address, in unmanaged memory, where <paramref name="s" /> was copied, or 0 if <paramref name="s" /> is a <see cref="T:System.Security.SecureString" /> object whose length is 0.</returns>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="s" /> parameter is <see langword="null" />.</exception>
/// <exception cref="T:System.NotSupportedException">The current computer is not running Windows 2000 Service Pack 3 or later.</exception>
/// <exception cref="T:System.OutOfMemoryException">There is insufficient memory available.</exception>
// Token: 0x06002B21 RID: 11041 RVA: 0x00016E78 File Offset: 0x00015078
[Token(Token = "0x6002B21")]
[Address(RVA = "0x237FE80", Offset = "0x237EC80", VA = "0x18237FE80")]
public static IntPtr SecureStringToGlobalAllocUnicode(SecureString s)
{
return 0;
}
/// <summary>Marshals data from a managed object to an unmanaged block of memory.</summary>
/// <param name="structure">A managed object that holds the data to be marshaled. This object must be a structure or an instance of a formatted class.</param>
/// <param name="ptr">A pointer to an unmanaged block of memory, which must be allocated before this method is called.</param>
/// <param name="fDeleteOld">
/// <see langword="true" /> to call the <see cref="M:System.Runtime.InteropServices.Marshal.DestroyStructure(System.IntPtr,System.Type)" /> method on the <paramref name="ptr" /> parameter before this method copies the data. The block must contain valid data. Note that passing <see langword="false" /> when the memory block already contains data can lead to a memory leak.</param>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="structure" /> is a reference type that is not a formatted class.
/// -or-
/// <paramref name="structure" /> is an instance of a generic type (in the .NET Framework 4.5 and earlier versions only).</exception>
// Token: 0x06002B22 RID: 11042 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002B22")]
[Address(RVA = "0x237FFB0", Offset = "0x237EDB0", VA = "0x18237FFB0")]
[ComVisible(true)]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
public static void StructureToPtr(object structure, IntPtr ptr, bool fDeleteOld)
{
}
/// <summary>[Supported in the .NET Framework 4.5.1 and later versions]
/// Marshals data from a managed object of a specified type to an unmanaged block of memory.</summary>
/// <param name="structure">A managed object that holds the data to be marshaled. The object must be a structure or an instance of a formatted class.</param>
/// <param name="ptr">A pointer to an unmanaged block of memory, which must be allocated before this method is called.</param>
/// <param name="fDeleteOld">
/// <see langword="true" /> to call the <see cref="M:System.Runtime.InteropServices.Marshal.DestroyStructure``1(System.IntPtr)" /> method on the <paramref name="ptr" /> parameter before this method copies the data. The block must contain valid data. Note that passing <see langword="false" /> when the memory block already contains data can lead to a memory leak.</param>
/// <typeparam name="T">The type of the managed object.</typeparam>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="structure" /> is a reference type that is not a formatted class.</exception>
// Token: 0x06002B23 RID: 11043 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002B23")]
[Address(RVA = "0x16D2CF0", Offset = "0x16D1AF0", VA = "0x1816D2CF0")]
public static void StructureToPtr<T>(T structure, IntPtr ptr, bool fDeleteOld)
{
}
/// <summary>Throws an exception with a specific failure HRESULT value.</summary>
/// <param name="errorCode">The HRESULT corresponding to the desired exception.</param>
// Token: 0x06002B24 RID: 11044 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002B24")]
[Address(RVA = "0x237FFC0", Offset = "0x237EDC0", VA = "0x18237FFC0")]
public static void ThrowExceptionForHR(int errorCode)
{
}
// Token: 0x06002B25 RID: 11045 RVA: 0x00016E90 File Offset: 0x00015090
[Token(Token = "0x6002B25")]
[Address(RVA = "0x450D90", Offset = "0x44FB90", VA = "0x180450D90")]
private static IntPtr BufferToBSTR(Array ptr, int slen)
{
return 0;
}
/// <summary>Gets the address of the element at the specified index inside the specified array.</summary>
/// <param name="arr">The array that contains the desired element.</param>
/// <param name="index">The index in the <paramref name="arr" /> parameter of the desired element.</param>
/// <returns>The address of <paramref name="index" /> inside <paramref name="arr" />.</returns>
// Token: 0x06002B26 RID: 11046 RVA: 0x00016EA8 File Offset: 0x000150A8
[Token(Token = "0x6002B26")]
[Address(RVA = "0x23800B0", Offset = "0x237EEB0", VA = "0x1823800B0")]
public static IntPtr UnsafeAddrOfPinnedArrayElement(Array arr, int index)
{
return 0;
}
/// <summary>[Supported in the .NET Framework 4.5.1 and later versions]
/// Gets the address of the element at the specified index in an array of a specified type.</summary>
/// <param name="arr">The array that contains the desired element.</param>
/// <param name="index">The index of the desired element in the <paramref name="arr" /> array.</param>
/// <typeparam name="T">The type of the array.</typeparam>
/// <returns>The address of <paramref name="index" /> in <paramref name="arr" />.</returns>
// Token: 0x06002B27 RID: 11047 RVA: 0x00016EC0 File Offset: 0x000150C0
[Token(Token = "0x6002B27")]
[Address(RVA = "0x21754C0", Offset = "0x21742C0", VA = "0x1821754C0")]
public static IntPtr UnsafeAddrOfPinnedArrayElement<T>(T[] arr, int index)
{
return 0;
}
/// <summary>Writes a single byte value to unmanaged memory at a specified offset.</summary>
/// <param name="ptr">The base address in unmanaged memory to write to.</param>
/// <param name="ofs">An additional byte offset, which is added to the <paramref name="ptr" /> parameter before writing.</param>
/// <param name="val">The value to write.</param>
/// <exception cref="T:System.AccessViolationException">Base address (<paramref name="ptr" />) plus offset byte (<paramref name="ofs" />) produces a null or invalid address.</exception>
// Token: 0x06002B28 RID: 11048 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002B28")]
[Address(RVA = "0x23800C0", Offset = "0x237EEC0", VA = "0x1823800C0")]
public static void WriteByte(IntPtr ptr, int ofs, byte val)
{
}
/// <summary>Writes a 16-bit signed integer value into unmanaged memory at a specified offset.</summary>
/// <param name="ptr">The base address in unmanaged memory to write to.</param>
/// <param name="ofs">An additional byte offset, which is added to the <paramref name="ptr" /> parameter before writing.</param>
/// <param name="val">The value to write.</param>
/// <exception cref="T:System.AccessViolationException">Base address (<paramref name="ptr" />) plus offset byte (<paramref name="ofs" />) produces a null or invalid address.</exception>
// Token: 0x06002B29 RID: 11049 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002B29")]
[Address(RVA = "0x23800F0", Offset = "0x237EEF0", VA = "0x1823800F0")]
public static void WriteInt16(IntPtr ptr, int ofs, short val)
{
}
/// <summary>Writes a 32-bit signed integer value to unmanaged memory.</summary>
/// <param name="ptr">The address in unmanaged memory to write to.</param>
/// <param name="val">The value to write.</param>
/// <exception cref="T:System.AccessViolationException">
/// <paramref name="ptr" /> is not a recognized format.
/// -or-
/// <paramref name="ptr" /> is <see langword="null" />.
/// -or-
/// <paramref name="ptr" /> is invalid.</exception>
// Token: 0x06002B2A RID: 11050 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002B2A")]
[Address(RVA = "0x2380140", Offset = "0x237EF40", VA = "0x182380140")]
public static void WriteInt32(IntPtr ptr, int val)
{
}
/// <summary>Writes a 64-bit signed integer value to unmanaged memory.</summary>
/// <param name="ptr">The address in unmanaged memory to write to.</param>
/// <param name="val">The value to write.</param>
/// <exception cref="T:System.AccessViolationException">
/// <paramref name="ptr" /> is not a recognized format.
/// -or-
/// <paramref name="ptr" /> is <see langword="null" />.
/// -or-
/// <paramref name="ptr" /> is invalid.</exception>
// Token: 0x06002B2B RID: 11051 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002B2B")]
[Address(RVA = "0x2380180", Offset = "0x237EF80", VA = "0x182380180")]
public static void WriteInt64(IntPtr ptr, long val)
{
}
/// <summary>Writes a processor native sized integer value into unmanaged memory.</summary>
/// <param name="ptr">The address in unmanaged memory to write to.</param>
/// <param name="val">The value to write.</param>
/// <exception cref="T:System.AccessViolationException">
/// <paramref name="ptr" /> is not a recognized format.
/// -or-
/// <paramref name="ptr" /> is <see langword="null" />.
/// -or-
/// <paramref name="ptr" /> is invalid.</exception>
// Token: 0x06002B2C RID: 11052 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002B2C")]
[Address(RVA = "0x23801C0", Offset = "0x237EFC0", VA = "0x1823801C0")]
public static void WriteIntPtr(IntPtr ptr, IntPtr val)
{
}
// Token: 0x06002B2D RID: 11053 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002B2D")]
[Address(RVA = "0x237E0A0", Offset = "0x237CEA0", VA = "0x18237E0A0")]
private static Exception ConvertHrToException(int errorCode)
{
return null;
}
/// <summary>Converts the specified HRESULT error code to a corresponding <see cref="T:System.Exception" /> object.</summary>
/// <param name="errorCode">The HRESULT to be converted.</param>
/// <returns>An object that represents the converted HRESULT.</returns>
// Token: 0x06002B2E RID: 11054 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002B2E")]
[Address(RVA = "0x237F460", Offset = "0x237E260", VA = "0x18237F460")]
public static Exception GetExceptionForHR(int errorCode)
{
return null;
}
/// <summary>Converts the specified HRESULT error code to a corresponding <see cref="T:System.Exception" /> object, with additional error information passed in an IErrorInfo interface for the exception object.</summary>
/// <param name="errorCode">The HRESULT to be converted.</param>
/// <param name="errorInfo">A pointer to the <see langword="IErrorInfo" /> interface that provides more information about the error. You can specify IntPtr(0) to use the current <see langword="IErrorInfo" /> interface, or IntPtr(-1) to ignore the current <see langword="IErrorInfo" /> interface and construct the exception just from the error code.</param>
/// <returns>An object that represents the converted HRESULT and information obtained from <paramref name="errorInfo" />.</returns>
// Token: 0x06002B2F RID: 11055 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002B2F")]
[Address(RVA = "0x237F410", Offset = "0x237E210", VA = "0x18237F410")]
public static Exception GetExceptionForHR(int errorCode, IntPtr errorInfo)
{
return null;
}
// Token: 0x06002B30 RID: 11056 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002B30")]
[Address(RVA = "0x237F1C0", Offset = "0x237DFC0", VA = "0x18237F1C0")]
private static Delegate GetDelegateForFunctionPointerInternal(IntPtr ptr, Type t)
{
return null;
}
/// <summary>Converts an unmanaged function pointer to a delegate.</summary>
/// <param name="ptr">The unmanaged function pointer to be converted.</param>
/// <param name="t">The type of the delegate to be returned.</param>
/// <returns>A delegate instance that can be cast to the appropriate delegate type.</returns>
/// <exception cref="T:System.ArgumentException">The <paramref name="t" /> parameter is not a delegate or is generic.</exception>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="ptr" /> parameter is <see langword="null" />.
/// -or-
/// The <paramref name="t" /> parameter is <see langword="null" />.</exception>
// Token: 0x06002B31 RID: 11057 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002B31")]
[Address(RVA = "0x237F1D0", Offset = "0x237DFD0", VA = "0x18237F1D0")]
public static Delegate GetDelegateForFunctionPointer(IntPtr ptr, Type t)
{
return null;
}
/// <summary>[Supported in the .NET Framework 4.5.1 and later versions]
/// Converts an unmanaged function pointer to a delegate of a specified type.</summary>
/// <param name="ptr">The unmanaged function pointer to convert.</param>
/// <typeparam name="TDelegate">The type of the delegate to return.</typeparam>
/// <returns>A instance of the specified delegate type.</returns>
/// <exception cref="T:System.ArgumentException">The <paramref name="TDelegate" /> generic parameter is not a delegate, or it is an open generic type.</exception>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="ptr" /> parameter is <see langword="null" />.</exception>
// Token: 0x06002B32 RID: 11058 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002B32")]
[Address(RVA = "0x239CDC0", Offset = "0x239BBC0", VA = "0x18239CDC0")]
public static TDelegate GetDelegateForFunctionPointer<TDelegate>(IntPtr ptr)
{
return null;
}
// Token: 0x06002B33 RID: 11059 RVA: 0x00016ED8 File Offset: 0x000150D8
[Token(Token = "0x6002B33")]
[Address(RVA = "0x237F4F0", Offset = "0x237E2F0", VA = "0x18237F4F0")]
private static IntPtr GetFunctionPointerForDelegateInternal(Delegate d)
{
return 0;
}
/// <summary>[Supported in the .NET Framework 4.5.1 and later versions]
/// Converts a delegate of a specified type to a function pointer that is callable from unmanaged code.</summary>
/// <param name="d">The delegate to be passed to unmanaged code.</param>
/// <typeparam name="TDelegate">The type of delegate to convert.</typeparam>
/// <returns>A value that can be passed to unmanaged code, which, in turn, can use it to call the underlying managed delegate.</returns>
/// <exception cref="T:System.ArgumentException">The <paramref name="d" /> parameter is a generic type definition.</exception>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="d" /> parameter is <see langword="null" />.</exception>
// Token: 0x06002B34 RID: 11060 RVA: 0x00016EF0 File Offset: 0x000150F0
[Token(Token = "0x6002B34")]
[Address(RVA = "0x2174CB0", Offset = "0x2173AB0", VA = "0x182174CB0")]
public static IntPtr GetFunctionPointerForDelegate<TDelegate>(TDelegate d)
{
return 0;
}
/// <summary>Represents the maximum size of a double byte character set (DBCS) size, in bytes, for the current operating system. This field is read-only.</summary>
// Token: 0x04001941 RID: 6465
[Token(Token = "0x4001941")]
public static readonly int SystemMaxDBCSCharSize;
/// <summary>Represents the default character size on the system; the default is 2 for Unicode systems and 1 for ANSI systems. This field is read-only.</summary>
// Token: 0x04001942 RID: 6466
[Token(Token = "0x4001942")]
public static readonly int SystemDefaultCharSize;
}
}
@@ -0,0 +1,83 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Indicates how to marshal the data between managed and unmanaged code.</summary>
// Token: 0x02000589 RID: 1417
[Token(Token = "0x2000589")]
[ComVisible(true)]
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
[StructLayout(0)]
public sealed class MarshalAsAttribute : Attribute
{
// Token: 0x06002B36 RID: 11062 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002B36")]
[Address(RVA = "0x237DC90", Offset = "0x237CA90", VA = "0x18237DC90")]
internal MarshalAsAttribute Copy()
{
return null;
}
/// <summary>Provides additional information to a custom marshaler.</summary>
// Token: 0x04001943 RID: 6467
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001943")]
public string MarshalCookie;
/// <summary>Specifies the fully qualified name of a custom marshaler.</summary>
// Token: 0x04001944 RID: 6468
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001944")]
[ComVisible(true)]
public string MarshalType;
/// <summary>Implements <see cref="F:System.Runtime.InteropServices.MarshalAsAttribute.MarshalType" /> as a type.</summary>
// Token: 0x04001945 RID: 6469
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4001945")]
[ComVisible(true)]
public Type MarshalTypeRef;
/// <summary>Indicates the user-defined element type of the <see cref="F:System.Runtime.InteropServices.UnmanagedType.SafeArray" />.</summary>
// Token: 0x04001946 RID: 6470
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4001946")]
public Type SafeArrayUserDefinedSubType;
// Token: 0x04001947 RID: 6471
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4001947")]
private UnmanagedType utype;
/// <summary>Specifies the element type of the unmanaged <see cref="F:System.Runtime.InteropServices.UnmanagedType.LPArray" /> or <see cref="F:System.Runtime.InteropServices.UnmanagedType.ByValArray" />.</summary>
// Token: 0x04001948 RID: 6472
[FieldOffset(Offset = "0x34")]
[Token(Token = "0x4001948")]
public UnmanagedType ArraySubType;
/// <summary>Indicates the element type of the <see cref="F:System.Runtime.InteropServices.UnmanagedType.SafeArray" />.</summary>
// Token: 0x04001949 RID: 6473
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x4001949")]
public VarEnum SafeArraySubType;
/// <summary>Indicates the number of elements in the fixed-length array or the number of characters (not bytes) in a string to import.</summary>
// Token: 0x0400194A RID: 6474
[FieldOffset(Offset = "0x3C")]
[Token(Token = "0x400194A")]
public int SizeConst;
/// <summary>Specifies the parameter index of the unmanaged <see langword="iid_is" /> attribute used by COM.</summary>
// Token: 0x0400194B RID: 6475
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x400194B")]
public int IidParameterIndex;
/// <summary>Indicates the zero-based parameter that contains the count of array elements, similar to <see langword="size_is" /> in COM.</summary>
// Token: 0x0400194C RID: 6476
[FieldOffset(Offset = "0x44")]
[Token(Token = "0x400194C")]
public short SizeParamIndex;
}
}
@@ -0,0 +1,43 @@
using System;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>The exception that is thrown by the marshaler when it encounters a <see cref="T:System.Runtime.InteropServices.MarshalAsAttribute" /> it does not support.</summary>
// Token: 0x02000583 RID: 1411
[Token(Token = "0x2000583")]
[ComVisible(true)]
[Serializable]
public class MarshalDirectiveException : SystemException
{
/// <summary>Initializes a new instance of the <see langword="MarshalDirectiveException" /> class with default properties.</summary>
// Token: 0x06002AC0 RID: 10944 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AC0")]
[Address(RVA = "0x237DCF0", Offset = "0x237CAF0", VA = "0x18237DCF0")]
public MarshalDirectiveException()
{
}
/// <summary>Initializes a new instance of the <see langword="MarshalDirectiveException" /> class with a specified error message.</summary>
/// <param name="message">The error message that specifies the reason for the exception.</param>
// Token: 0x06002AC1 RID: 10945 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AC1")]
[Address(RVA = "0x237DD50", Offset = "0x237CB50", VA = "0x18237DD50")]
public MarshalDirectiveException(string message)
{
}
/// <summary>Initializes a new instance of the <see langword="MarshalDirectiveException" /> class from serialization data.</summary>
/// <param name="info">The object that holds the serialized object data.</param>
/// <param name="context">The contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="info" /> is <see langword="null" />.</exception>
// Token: 0x06002AC2 RID: 10946 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AC2")]
[Address(RVA = "0x3F60E0", Offset = "0x3F4EE0", VA = "0x1803F60E0")]
protected MarshalDirectiveException(SerializationInfo info, StreamingContext context)
{
}
}
}
@@ -0,0 +1,21 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Indicates that a parameter is optional.</summary>
// Token: 0x02000574 RID: 1396
[Token(Token = "0x2000574")]
[AttributeUsage(AttributeTargets.Parameter)]
[ComVisible(true)]
public sealed class OptionalAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see langword="OptionalAttribute" /> class with default values.</summary>
// Token: 0x06002AA1 RID: 10913 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AA1")]
[Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")]
public OptionalAttribute()
{
}
}
}
@@ -0,0 +1,21 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Indicates that data should be marshaled from callee back to caller.</summary>
// Token: 0x02000573 RID: 1395
[Token(Token = "0x2000573")]
[ComVisible(true)]
[AttributeUsage(AttributeTargets.Parameter)]
public sealed class OutAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.OutAttribute" /> class.</summary>
// Token: 0x06002AA0 RID: 10912 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AA0")]
[Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")]
public OutAttribute()
{
}
}
}
@@ -0,0 +1,21 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Indicates that the HRESULT or <see langword="retval" /> signature transformation that takes place during COM interop calls should be suppressed.</summary>
// Token: 0x02000571 RID: 1393
[Token(Token = "0x2000571")]
[ComVisible(true)]
[AttributeUsage(AttributeTargets.Method)]
public sealed class PreserveSigAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.PreserveSigAttribute" /> class.</summary>
// Token: 0x06002A9E RID: 10910 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A9E")]
[Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")]
public PreserveSigAttribute()
{
}
}
}
@@ -0,0 +1,34 @@
using System;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>The exception thrown when the type of the incoming <see langword="SAFEARRAY" /> does not match the type specified in the managed signature.</summary>
// Token: 0x02000584 RID: 1412
[Token(Token = "0x2000584")]
[ComVisible(true)]
[Serializable]
public class SafeArrayTypeMismatchException : SystemException
{
/// <summary>Initializes a new instance of the <see langword="SafeArrayTypeMismatchException" /> class with default values.</summary>
// Token: 0x06002AC3 RID: 10947 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AC3")]
[Address(RVA = "0x2382120", Offset = "0x2380F20", VA = "0x182382120")]
public SafeArrayTypeMismatchException()
{
}
/// <summary>Initializes a new instance of the <see langword="SafeArrayTypeMismatchException" /> class from serialization data.</summary>
/// <param name="info">The object that holds the serialized object data.</param>
/// <param name="context">The contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="info" /> is <see langword="null" />.</exception>
// Token: 0x06002AC4 RID: 10948 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AC4")]
[Address(RVA = "0x3F60E0", Offset = "0x3F4EE0", VA = "0x1803F60E0")]
protected SafeArrayTypeMismatchException(SerializationInfo info, StreamingContext context)
{
}
}
}
@@ -0,0 +1,40 @@
using System;
using System.Runtime.ConstrainedExecution;
using Cpp2IlInjected;
using Microsoft.Win32.SafeHandles;
namespace System.Runtime.InteropServices
{
/// <summary>Provides a controlled memory buffer that can be used for reading and writing. Attempts to access memory outside the controlled buffer (underruns and overruns) raise exceptions.</summary>
// Token: 0x0200058A RID: 1418
[Token(Token = "0x200058A")]
public abstract class SafeBuffer : SafeHandleZeroOrMinusOneIsInvalid
{
/// <summary>Obtains a pointer from a <see cref="T:System.Runtime.InteropServices.SafeBuffer" /> object for a block of memory.</summary>
/// <param name="pointer">A byte pointer, passed by reference, to receive the pointer from within the <see cref="T:System.Runtime.InteropServices.SafeBuffer" /> object. You must set this pointer to <see langword="null" /> before you call this method.</param>
/// <exception cref="T:System.InvalidOperationException">The <see cref="Overload:System.Runtime.InteropServices.SafeBuffer.Initialize" /> method has not been called.</exception>
// Token: 0x06002B37 RID: 11063 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002B37")]
[Address(RVA = "0x2382180", Offset = "0x2380F80", VA = "0x182382180")]
[CLSCompliant(false)]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
public unsafe void AcquirePointer(ref byte* pointer)
{
}
/// <summary>Releases a pointer that was obtained by the <see cref="M:System.Runtime.InteropServices.SafeBuffer.AcquirePointer(System.Byte*@)" /> method.</summary>
/// <exception cref="T:System.InvalidOperationException">The <see cref="Overload:System.Runtime.InteropServices.SafeBuffer.Initialize" /> method has not been called.</exception>
// Token: 0x06002B38 RID: 11064 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002B38")]
[Address(RVA = "0x2382210", Offset = "0x2381010", VA = "0x182382210")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
public void ReleasePointer()
{
}
// Token: 0x0400194D RID: 6477
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x400194D")]
private bool inited;
}
}
@@ -0,0 +1,203 @@
using System;
using System.Runtime.ConstrainedExecution;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Represents a wrapper class for operating system handles. This class must be inherited.</summary>
// Token: 0x02000585 RID: 1413
[Token(Token = "0x2000585")]
[StructLayout(0)]
public abstract class SafeHandle : CriticalFinalizerObject, IDisposable
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.SafeHandle" /> class with the specified invalid handle value.</summary>
/// <param name="invalidHandleValue">The value of an invalid handle (usually 0 or -1). Your implementation of <see cref="P:System.Runtime.InteropServices.SafeHandle.IsInvalid" /> should return <see langword="true" /> for this value.</param>
/// <param name="ownsHandle">
/// <see langword="true" /> to reliably let <see cref="T:System.Runtime.InteropServices.SafeHandle" /> release the handle during the finalization phase; otherwise, <see langword="false" /> (not recommended).</param>
/// <exception cref="T:System.TypeLoadException">The derived class resides in an assembly without unmanaged code access permission.</exception>
// Token: 0x06002AC5 RID: 10949 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AC5")]
[Address(RVA = "0x2382810", Offset = "0x2381610", VA = "0x182382810")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
protected SafeHandle(IntPtr invalidHandleValue, bool ownsHandle)
{
}
/// <summary>Frees all resources associated with the handle.</summary>
// Token: 0x06002AC6 RID: 10950 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AC6")]
[Address(RVA = "0x2382610", Offset = "0x2381410", VA = "0x182382610", Slot = "1")]
protected override void Finalize()
{
}
/// <summary>Sets the handle to the specified pre-existing handle.</summary>
/// <param name="handle">The pre-existing handle to use.</param>
// Token: 0x06002AC7 RID: 10951 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AC7")]
[Address(RVA = "0x3F7200", Offset = "0x3F6000", VA = "0x1803F7200")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
protected void SetHandle(IntPtr handle)
{
}
/// <summary>Returns the value of the <see cref="F:System.Runtime.InteropServices.SafeHandle.handle" /> field.</summary>
/// <returns>An <see langword="IntPtr" /> representing the value of the <see cref="F:System.Runtime.InteropServices.SafeHandle.handle" /> field. If the handle has been marked invalid with <see cref="M:System.Runtime.InteropServices.SafeHandle.SetHandleAsInvalid" />, this method still returns the original handle value, which can be a stale value.</returns>
// Token: 0x06002AC8 RID: 10952 RVA: 0x00016A58 File Offset: 0x00014C58
[Token(Token = "0x6002AC8")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
public IntPtr DangerousGetHandle()
{
return 0;
}
/// <summary>Gets a value indicating whether the handle is closed.</summary>
/// <returns>
/// <see langword="true" /> if the handle is closed; otherwise, <see langword="false" />.</returns>
// Token: 0x17000653 RID: 1619
// (get) Token: 0x06002AC9 RID: 10953 RVA: 0x00016A70 File Offset: 0x00014C70
[Token(Token = "0x17000653")]
public bool IsClosed
{
[Token(Token = "0x6002AC9")]
[Address(RVA = "0x23828A0", Offset = "0x23816A0", VA = "0x1823828A0")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
get
{
return default(bool);
}
}
/// <summary>When overridden in a derived class, gets a value indicating whether the handle value is invalid.</summary>
/// <returns>
/// <see langword="true" /> if the handle value is invalid; otherwise, <see langword="false" />.</returns>
// Token: 0x17000654 RID: 1620
// (get) Token: 0x06002ACA RID: 10954
[Token(Token = "0x17000654")]
public abstract bool IsInvalid
{
[Token(Token = "0x6002ACA")]
[Address(Slot = "5")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
get;
}
/// <summary>Marks the handle for releasing and freeing resources.</summary>
// Token: 0x06002ACB RID: 10955 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002ACB")]
[Address(RVA = "0x2382280", Offset = "0x2381080", VA = "0x182382280")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
public void Close()
{
}
/// <summary>Releases all resources used by the <see cref="T:System.Runtime.InteropServices.SafeHandle" /> class.</summary>
// Token: 0x06002ACC RID: 10956 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002ACC")]
[Address(RVA = "0x2382280", Offset = "0x2381080", VA = "0x182382280", Slot = "4")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
public void Dispose()
{
}
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.Runtime.InteropServices.SafeHandle" /> class specifying whether to perform a normal dispose operation.</summary>
/// <param name="disposing">
/// <see langword="true" /> for a normal dispose operation; <see langword="false" /> to finalize the handle.</param>
// Token: 0x06002ACD RID: 10957 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002ACD")]
[Address(RVA = "0x2382560", Offset = "0x2381360", VA = "0x182382560", Slot = "6")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
protected virtual void Dispose(bool disposing)
{
}
/// <summary>When overridden in a derived class, executes the code required to free the handle.</summary>
/// <returns>
/// <see langword="true" /> if the handle is released successfully; otherwise, in the event of a catastrophic failure, <see langword="false" />. In this case, it generates a releaseHandleFailed Managed Debugging Assistant.</returns>
// Token: 0x06002ACE RID: 10958
[Token(Token = "0x6002ACE")]
[Address(Slot = "7")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
protected abstract bool ReleaseHandle();
/// <summary>Marks a handle as no longer used.</summary>
// Token: 0x06002ACF RID: 10959 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002ACF")]
[Address(RVA = "0x2382740", Offset = "0x2381540", VA = "0x182382740")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
public void SetHandleAsInvalid()
{
}
/// <summary>Manually increments the reference counter on <see cref="T:System.Runtime.InteropServices.SafeHandle" /> instances.</summary>
/// <param name="success">
/// <see langword="true" /> if the reference counter was successfully incremented; otherwise, <see langword="false" />.</param>
// Token: 0x06002AD0 RID: 10960 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AD0")]
[Address(RVA = "0x23822A0", Offset = "0x23810A0", VA = "0x1823822A0")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
public void DangerousAddRef(ref bool success)
{
}
/// <summary>Manually decrements the reference counter on a <see cref="T:System.Runtime.InteropServices.SafeHandle" /> instance.</summary>
// Token: 0x06002AD1 RID: 10961 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AD1")]
[Address(RVA = "0x2382550", Offset = "0x2381350", VA = "0x182382550")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
public void DangerousRelease()
{
}
// Token: 0x06002AD2 RID: 10962 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AD2")]
[Address(RVA = "0x2382690", Offset = "0x2381490", VA = "0x182382690")]
private void InternalDispose()
{
}
// Token: 0x06002AD3 RID: 10963 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AD3")]
[Address(RVA = "0x2382720", Offset = "0x2381520", VA = "0x182382720")]
private void InternalFinalize()
{
}
// Token: 0x06002AD4 RID: 10964 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002AD4")]
[Address(RVA = "0x23823B0", Offset = "0x23811B0", VA = "0x1823823B0")]
private void DangerousReleaseInternal(bool dispose)
{
}
/// <summary>Specifies the handle to be wrapped.</summary>
// Token: 0x04001935 RID: 6453
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001935")]
protected IntPtr handle;
// Token: 0x04001936 RID: 6454
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001936")]
private int _state;
// Token: 0x04001937 RID: 6455
[FieldOffset(Offset = "0x1C")]
[Token(Token = "0x4001937")]
private bool _ownsHandle;
// Token: 0x04001938 RID: 6456
[FieldOffset(Offset = "0x1D")]
[Token(Token = "0x4001938")]
private bool _fullyInitialized;
// Token: 0x04001939 RID: 6457
[Token(Token = "0x4001939")]
private const int RefCount_Mask = 2147483644;
// Token: 0x0400193A RID: 6458
[Token(Token = "0x400193A")]
private const int RefCount_One = 4;
}
}
@@ -0,0 +1,51 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Controls the marshaling behavior of a delegate signature passed as an unmanaged function pointer to or from unmanaged code. This class cannot be inherited.</summary>
// Token: 0x02000565 RID: 1381
[Token(Token = "0x2000565")]
[ComVisible(true)]
[AttributeUsage(AttributeTargets.Delegate)]
public sealed class UnmanagedFunctionPointerAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute" /> class with the specified calling convention.</summary>
/// <param name="callingConvention">The specified calling convention.</param>
// Token: 0x06002A95 RID: 10901 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A95")]
[Address(RVA = "0x4D83A0", Offset = "0x4D71A0", VA = "0x1804D83A0")]
public UnmanagedFunctionPointerAttribute(CallingConvention callingConvention)
{
}
// Token: 0x040018A8 RID: 6312
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40018A8")]
private CallingConvention m_callingConvention;
/// <summary>Indicates how to marshal string parameters to the method, and controls name mangling.</summary>
// Token: 0x040018A9 RID: 6313
[FieldOffset(Offset = "0x14")]
[Token(Token = "0x40018A9")]
public CharSet CharSet;
/// <summary>Enables or disables best-fit mapping behavior when converting Unicode characters to ANSI characters.</summary>
// Token: 0x040018AA RID: 6314
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x40018AA")]
public bool BestFitMapping;
/// <summary>Enables or disables the throwing of an exception on an unmappable Unicode character that is converted to an ANSI "?" character.</summary>
// Token: 0x040018AB RID: 6315
[FieldOffset(Offset = "0x19")]
[Token(Token = "0x40018AB")]
public bool ThrowOnUnmappableChar;
/// <summary>Indicates whether the callee calls the <see langword="SetLastError" /> Win32 API function before returning from the attributed method.</summary>
// Token: 0x040018AC RID: 6316
[FieldOffset(Offset = "0x1A")]
[Token(Token = "0x40018AC")]
public bool SetLastError;
}
}
@@ -0,0 +1,169 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Identifies how to marshal parameters or fields to unmanaged code.</summary>
// Token: 0x0200056E RID: 1390
[Token(Token = "0x200056E")]
[ComVisible(true)]
[Serializable]
public enum UnmanagedType
{
/// <summary>A 4-byte Boolean value (<see langword="true" /> != 0, <see langword="false" /> = 0). This is the Win32 BOOL type.</summary>
// Token: 0x040018E9 RID: 6377
[Token(Token = "0x40018E9")]
Bool = 2,
/// <summary>A 1-byte signed integer. You can use this member to transform a Boolean value into a 1-byte, C-style <see langword="bool" /> (<see langword="true" /> = 1, <see langword="false" /> = 0).</summary>
// Token: 0x040018EA RID: 6378
[Token(Token = "0x40018EA")]
I1,
/// <summary>A 1-byte unsigned integer.</summary>
// Token: 0x040018EB RID: 6379
[Token(Token = "0x40018EB")]
U1,
/// <summary>A 2-byte signed integer.</summary>
// Token: 0x040018EC RID: 6380
[Token(Token = "0x40018EC")]
I2,
/// <summary>A 2-byte unsigned integer.</summary>
// Token: 0x040018ED RID: 6381
[Token(Token = "0x40018ED")]
U2,
/// <summary>A 4-byte signed integer.</summary>
// Token: 0x040018EE RID: 6382
[Token(Token = "0x40018EE")]
I4,
/// <summary>A 4-byte unsigned integer.</summary>
// Token: 0x040018EF RID: 6383
[Token(Token = "0x40018EF")]
U4,
/// <summary>An 8-byte signed integer.</summary>
// Token: 0x040018F0 RID: 6384
[Token(Token = "0x40018F0")]
I8,
/// <summary>An 8-byte unsigned integer.</summary>
// Token: 0x040018F1 RID: 6385
[Token(Token = "0x40018F1")]
U8,
/// <summary>A 4-byte floating-point number.</summary>
// Token: 0x040018F2 RID: 6386
[Token(Token = "0x40018F2")]
R4,
/// <summary>An 8-byte floating-point number.</summary>
// Token: 0x040018F3 RID: 6387
[Token(Token = "0x40018F3")]
R8,
/// <summary>A currency type. Used on a <see cref="T:System.Decimal" /> to marshal the decimal value as a COM currency type instead of as a <see langword="Decimal" />.</summary>
// Token: 0x040018F4 RID: 6388
[Token(Token = "0x40018F4")]
Currency = 15,
/// <summary>A Unicode character string that is a length-prefixed double byte. You can use this member, which is the default string in COM, on the <see cref="T:System.String" /> data type.</summary>
// Token: 0x040018F5 RID: 6389
[Token(Token = "0x40018F5")]
BStr = 19,
/// <summary>A single byte, null-terminated ANSI character string. You can use this member on the <see cref="T:System.String" /> and <see cref="T:System.Text.StringBuilder" /> data types.</summary>
// Token: 0x040018F6 RID: 6390
[Token(Token = "0x40018F6")]
LPStr,
/// <summary>A 2-byte, null-terminated Unicode character string.</summary>
// Token: 0x040018F7 RID: 6391
[Token(Token = "0x40018F7")]
LPWStr,
/// <summary>A platform-dependent character string: ANSI on Windows 98, and Unicode on Windows NT and Windows XP. This value is supported only for platform invoke and not for COM interop, because exporting a string of type <see langword="LPTStr" /> is not supported.</summary>
// Token: 0x040018F8 RID: 6392
[Token(Token = "0x40018F8")]
LPTStr,
/// <summary>Used for in-line, fixed-length character arrays that appear within a structure. The character type used with <see cref="F:System.Runtime.InteropServices.UnmanagedType.ByValTStr" /> is determined by the <see cref="T:System.Runtime.InteropServices.CharSet" /> argument of the <see cref="T:System.Runtime.InteropServices.StructLayoutAttribute" /> attribute applied to the containing structure. Always use the <see cref="F:System.Runtime.InteropServices.MarshalAsAttribute.SizeConst" /> field to indicate the size of the array.</summary>
// Token: 0x040018F9 RID: 6393
[Token(Token = "0x40018F9")]
ByValTStr,
/// <summary>A COM <see langword="IUnknown" /> pointer. You can use this member on the <see cref="T:System.Object" /> data type.</summary>
// Token: 0x040018FA RID: 6394
[Token(Token = "0x40018FA")]
IUnknown = 25,
/// <summary>A COM <see langword="IDispatch" /> pointer (<see langword="Object" /> in Microsoft Visual Basic 6.0).</summary>
// Token: 0x040018FB RID: 6395
[Token(Token = "0x40018FB")]
IDispatch,
/// <summary>A VARIANT, which is used to marshal managed formatted classes and value types.</summary>
// Token: 0x040018FC RID: 6396
[Token(Token = "0x40018FC")]
Struct,
/// <summary>A COM interface pointer. The <see cref="T:System.Guid" /> of the interface is obtained from the class metadata. Use this member to specify the exact interface type or the default interface type if you apply it to a class. This member produces the same behavior as <see cref="F:System.Runtime.InteropServices.UnmanagedType.IUnknown" /> when you apply it to the <see cref="T:System.Object" /> data type.</summary>
// Token: 0x040018FD RID: 6397
[Token(Token = "0x40018FD")]
Interface,
/// <summary>A <see langword="SafeArray" />, which is a self-describing array that carries the type, rank, and bounds of the associated array data. You can use this member with the <see cref="F:System.Runtime.InteropServices.MarshalAsAttribute.SafeArraySubType" /> field to override the default element type.</summary>
// Token: 0x040018FE RID: 6398
[Token(Token = "0x40018FE")]
SafeArray,
/// <summary>When the <see cref="P:System.Runtime.InteropServices.MarshalAsAttribute.Value" /> property is set to <see langword="ByValArray" />, the <see cref="F:System.Runtime.InteropServices.MarshalAsAttribute.SizeConst" /> field must be set to indicate the number of elements in the array. The <see cref="F:System.Runtime.InteropServices.MarshalAsAttribute.ArraySubType" /> field can optionally contain the <see cref="T:System.Runtime.InteropServices.UnmanagedType" /> of the array elements when it is necessary to differentiate among string types. You can use this <see cref="T:System.Runtime.InteropServices.UnmanagedType" /> only on an array that whose elements appear as fields in a structure.</summary>
// Token: 0x040018FF RID: 6399
[Token(Token = "0x40018FF")]
ByValArray,
/// <summary>A platform-dependent, signed integer: 4 bytes on 32-bit Windows, 8 bytes on 64-bit Windows.</summary>
// Token: 0x04001900 RID: 6400
[Token(Token = "0x4001900")]
SysInt,
/// <summary>A platform-dependent, unsigned integer: 4 bytes on 32-bit Windows, 8 bytes on 64-bit Windows.</summary>
// Token: 0x04001901 RID: 6401
[Token(Token = "0x4001901")]
SysUInt,
/// <summary>A value that enables Visual Basic to change a string in unmanaged code and have the results reflected in managed code. This value is only supported for platform invoke.</summary>
// Token: 0x04001902 RID: 6402
[Token(Token = "0x4001902")]
VBByRefStr = 34,
/// <summary>An ANSI character string that is a length-prefixed single byte. You can use this member on the <see cref="T:System.String" /> data type.</summary>
// Token: 0x04001903 RID: 6403
[Token(Token = "0x4001903")]
AnsiBStr,
/// <summary>A length-prefixed, platform-dependent <see langword="char" /> string: ANSI on Windows 98, Unicode on Windows NT. You rarely use this BSTR-like member.</summary>
// Token: 0x04001904 RID: 6404
[Token(Token = "0x4001904")]
TBStr,
/// <summary>A 2-byte, OLE-defined VARIANT_BOOL type (<see langword="true" /> = -1, <see langword="false" /> = 0).</summary>
// Token: 0x04001905 RID: 6405
[Token(Token = "0x4001905")]
VariantBool,
/// <summary>An integer that can be used as a C-style function pointer. You can use this member on a <see cref="T:System.Delegate" /> data type or on a type that inherits from a <see cref="T:System.Delegate" />.</summary>
// Token: 0x04001906 RID: 6406
[Token(Token = "0x4001906")]
FunctionPtr,
/// <summary>A dynamic type that determines the type of an object at run time and marshals the object as that type. This member is valid for platform invoke methods only.</summary>
// Token: 0x04001907 RID: 6407
[Token(Token = "0x4001907")]
AsAny = 40,
/// <summary>A pointer to the first element of a C-style array. When marshaling from managed to unmanaged code, the length of the array is determined by the length of the managed array. When marshaling from unmanaged to managed code, the length of the array is determined from the <see cref="F:System.Runtime.InteropServices.MarshalAsAttribute.SizeConst" /> and <see cref="F:System.Runtime.InteropServices.MarshalAsAttribute.SizeParamIndex" /> fields, optionally followed by the unmanaged type of the elements within the array when it is necessary to differentiate among string types.</summary>
// Token: 0x04001908 RID: 6408
[Token(Token = "0x4001908")]
LPArray = 42,
/// <summary>A pointer to a C-style structure that you use to marshal managed formatted classes. This member is valid for platform invoke methods only.</summary>
// Token: 0x04001909 RID: 6409
[Token(Token = "0x4001909")]
LPStruct,
/// <summary>Specifies the custom marshaler class when used with the <see cref="F:System.Runtime.InteropServices.MarshalAsAttribute.MarshalType" /> or <see cref="F:System.Runtime.InteropServices.MarshalAsAttribute.MarshalTypeRef" /> field. The <see cref="F:System.Runtime.InteropServices.MarshalAsAttribute.MarshalCookie" /> field can be used to pass additional information to the custom marshaler. You can use this member on any reference type. This member is valid for parameters and return values only. It cannot be used on fields.</summary>
// Token: 0x0400190A RID: 6410
[Token(Token = "0x400190A")]
CustomMarshaler,
/// <summary>A native type that is associated with an <see cref="F:System.Runtime.InteropServices.UnmanagedType.I4" /> or an <see cref="F:System.Runtime.InteropServices.UnmanagedType.U4" /> and that causes the parameter to be exported as an HRESULT in the exported type library.</summary>
// Token: 0x0400190B RID: 6411
[Token(Token = "0x400190B")]
Error,
/// <summary>A Windows Runtime interface pointer. You can use this member on the <see cref="T:System.Object" /> data type.</summary>
// Token: 0x0400190C RID: 6412
[Token(Token = "0x400190C")]
[ComVisible(false)]
IInspectable,
/// <summary>A Windows Runtime string. You can use this member on the <see cref="T:System.String" /> data type.</summary>
// Token: 0x0400190D RID: 6413
[Token(Token = "0x400190D")]
[ComVisible(false)]
HString,
/// <summary>A pointer to a UTF-8 encoded string.</summary>
// Token: 0x0400190E RID: 6414
[Token(Token = "0x400190E")]
[ComVisible(false)]
LPUTF8Str
}
}
@@ -0,0 +1,190 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Indicates how to marshal the array elements when an array is marshaled from managed to unmanaged code as a <see cref="F:System.Runtime.InteropServices.UnmanagedType.SafeArray" />.</summary>
// Token: 0x0200056D RID: 1389
[Token(Token = "0x200056D")]
[ComVisible(true)]
[Serializable]
public enum VarEnum
{
/// <summary>Indicates that a value was not specified.</summary>
// Token: 0x040018BC RID: 6332
[Token(Token = "0x40018BC")]
VT_EMPTY,
/// <summary>Indicates a null value, similar to a null value in SQL.</summary>
// Token: 0x040018BD RID: 6333
[Token(Token = "0x40018BD")]
VT_NULL,
/// <summary>Indicates a <see langword="short" /> integer.</summary>
// Token: 0x040018BE RID: 6334
[Token(Token = "0x40018BE")]
VT_I2,
/// <summary>Indicates a <see langword="long" /> integer.</summary>
// Token: 0x040018BF RID: 6335
[Token(Token = "0x40018BF")]
VT_I4,
/// <summary>Indicates a <see langword="float" /> value.</summary>
// Token: 0x040018C0 RID: 6336
[Token(Token = "0x40018C0")]
VT_R4,
/// <summary>Indicates a <see langword="double" /> value.</summary>
// Token: 0x040018C1 RID: 6337
[Token(Token = "0x40018C1")]
VT_R8,
/// <summary>Indicates a currency value.</summary>
// Token: 0x040018C2 RID: 6338
[Token(Token = "0x40018C2")]
VT_CY,
/// <summary>Indicates a DATE value.</summary>
// Token: 0x040018C3 RID: 6339
[Token(Token = "0x40018C3")]
VT_DATE,
/// <summary>Indicates a BSTR string.</summary>
// Token: 0x040018C4 RID: 6340
[Token(Token = "0x40018C4")]
VT_BSTR,
/// <summary>Indicates an <see langword="IDispatch" /> pointer.</summary>
// Token: 0x040018C5 RID: 6341
[Token(Token = "0x40018C5")]
VT_DISPATCH,
/// <summary>Indicates an SCODE.</summary>
// Token: 0x040018C6 RID: 6342
[Token(Token = "0x40018C6")]
VT_ERROR,
/// <summary>Indicates a Boolean value.</summary>
// Token: 0x040018C7 RID: 6343
[Token(Token = "0x40018C7")]
VT_BOOL,
/// <summary>Indicates a VARIANT <see langword="far" /> pointer.</summary>
// Token: 0x040018C8 RID: 6344
[Token(Token = "0x40018C8")]
VT_VARIANT,
/// <summary>Indicates an <see langword="IUnknown" /> pointer.</summary>
// Token: 0x040018C9 RID: 6345
[Token(Token = "0x40018C9")]
VT_UNKNOWN,
/// <summary>Indicates a <see langword="decimal" /> value.</summary>
// Token: 0x040018CA RID: 6346
[Token(Token = "0x40018CA")]
VT_DECIMAL,
/// <summary>Indicates a <see langword="char" /> value.</summary>
// Token: 0x040018CB RID: 6347
[Token(Token = "0x40018CB")]
VT_I1 = 16,
/// <summary>Indicates a <see langword="byte" />.</summary>
// Token: 0x040018CC RID: 6348
[Token(Token = "0x40018CC")]
VT_UI1,
/// <summary>Indicates an <see langword="unsigned" /><see langword="short" />.</summary>
// Token: 0x040018CD RID: 6349
[Token(Token = "0x40018CD")]
VT_UI2,
/// <summary>Indicates an <see langword="unsigned" /><see langword="long" />.</summary>
// Token: 0x040018CE RID: 6350
[Token(Token = "0x40018CE")]
VT_UI4,
/// <summary>Indicates a 64-bit integer.</summary>
// Token: 0x040018CF RID: 6351
[Token(Token = "0x40018CF")]
VT_I8,
/// <summary>Indicates an 64-bit unsigned integer.</summary>
// Token: 0x040018D0 RID: 6352
[Token(Token = "0x40018D0")]
VT_UI8,
/// <summary>Indicates an integer value.</summary>
// Token: 0x040018D1 RID: 6353
[Token(Token = "0x40018D1")]
VT_INT,
/// <summary>Indicates an <see langword="unsigned" /> integer value.</summary>
// Token: 0x040018D2 RID: 6354
[Token(Token = "0x40018D2")]
VT_UINT,
/// <summary>Indicates a C style <see langword="void" />.</summary>
// Token: 0x040018D3 RID: 6355
[Token(Token = "0x40018D3")]
VT_VOID,
/// <summary>Indicates an HRESULT.</summary>
// Token: 0x040018D4 RID: 6356
[Token(Token = "0x40018D4")]
VT_HRESULT,
/// <summary>Indicates a pointer type.</summary>
// Token: 0x040018D5 RID: 6357
[Token(Token = "0x40018D5")]
VT_PTR,
/// <summary>Indicates a SAFEARRAY. Not valid in a VARIANT.</summary>
// Token: 0x040018D6 RID: 6358
[Token(Token = "0x40018D6")]
VT_SAFEARRAY,
/// <summary>Indicates a C style array.</summary>
// Token: 0x040018D7 RID: 6359
[Token(Token = "0x40018D7")]
VT_CARRAY,
/// <summary>Indicates a user defined type.</summary>
// Token: 0x040018D8 RID: 6360
[Token(Token = "0x40018D8")]
VT_USERDEFINED,
/// <summary>Indicates a null-terminated string.</summary>
// Token: 0x040018D9 RID: 6361
[Token(Token = "0x40018D9")]
VT_LPSTR,
/// <summary>Indicates a wide string terminated by <see langword="null" />.</summary>
// Token: 0x040018DA RID: 6362
[Token(Token = "0x40018DA")]
VT_LPWSTR,
/// <summary>Indicates a user defined type.</summary>
// Token: 0x040018DB RID: 6363
[Token(Token = "0x40018DB")]
VT_RECORD = 36,
/// <summary>Indicates a FILETIME value.</summary>
// Token: 0x040018DC RID: 6364
[Token(Token = "0x40018DC")]
VT_FILETIME = 64,
/// <summary>Indicates length prefixed bytes.</summary>
// Token: 0x040018DD RID: 6365
[Token(Token = "0x40018DD")]
VT_BLOB,
/// <summary>Indicates that the name of a stream follows.</summary>
// Token: 0x040018DE RID: 6366
[Token(Token = "0x40018DE")]
VT_STREAM,
/// <summary>Indicates that the name of a storage follows.</summary>
// Token: 0x040018DF RID: 6367
[Token(Token = "0x40018DF")]
VT_STORAGE,
/// <summary>Indicates that a stream contains an object.</summary>
// Token: 0x040018E0 RID: 6368
[Token(Token = "0x40018E0")]
VT_STREAMED_OBJECT,
/// <summary>Indicates that a storage contains an object.</summary>
// Token: 0x040018E1 RID: 6369
[Token(Token = "0x40018E1")]
VT_STORED_OBJECT,
/// <summary>Indicates that a blob contains an object.</summary>
// Token: 0x040018E2 RID: 6370
[Token(Token = "0x40018E2")]
VT_BLOB_OBJECT,
/// <summary>Indicates the clipboard format.</summary>
// Token: 0x040018E3 RID: 6371
[Token(Token = "0x40018E3")]
VT_CF,
/// <summary>Indicates a class ID.</summary>
// Token: 0x040018E4 RID: 6372
[Token(Token = "0x40018E4")]
VT_CLSID,
/// <summary>Indicates a simple, counted array.</summary>
// Token: 0x040018E5 RID: 6373
[Token(Token = "0x40018E5")]
VT_VECTOR = 4096,
/// <summary>Indicates a <see langword="SAFEARRAY" /> pointer.</summary>
// Token: 0x040018E6 RID: 6374
[Token(Token = "0x40018E6")]
VT_ARRAY = 8192,
/// <summary>Indicates that a value is a reference.</summary>
// Token: 0x040018E7 RID: 6375
[Token(Token = "0x40018E7")]
VT_BYREF = 16384
}
}
@@ -0,0 +1,16 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Exposes the <see cref="T:System.Activator" /> class to unmanaged code.</summary>
// Token: 0x0200058B RID: 1419
[Token(Token = "0x200058B")]
[Guid("03973551-57A1-3900-A2B5-9083E3FF2943")]
[CLSCompliant(false)]
[ComVisible(true)]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface _Activator
{
}
}
@@ -0,0 +1,16 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Exposes the public members of the <see cref="T:System.Reflection.Assembly" /> class to unmanaged code.</summary>
// Token: 0x0200058C RID: 1420
[Token(Token = "0x200058C")]
[Guid("17156360-2F1A-384A-BC52-FDE93C215C5B")]
[CLSCompliant(false)]
[InterfaceType(ComInterfaceType.InterfaceIsDual)]
[ComVisible(true)]
public interface _Assembly
{
}
}
@@ -0,0 +1,16 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Exposes the <see cref="T:System.Reflection.AssemblyName" /> class to unmanaged code.</summary>
// Token: 0x0200058D RID: 1421
[Token(Token = "0x200058D")]
[CLSCompliant(false)]
[ComVisible(true)]
[Guid("B42B6AAC-317E-34D5-9FA9-093BB4160C50")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface _AssemblyName
{
}
}
@@ -0,0 +1,16 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Exposes the public members of the <see cref="T:System.Reflection.ConstructorInfo" /> class to unmanaged code.</summary>
// Token: 0x0200058E RID: 1422
[Token(Token = "0x200058E")]
[Guid("E9A19478-9646-3679-9B10-8411AE1FD57D")]
[CLSCompliant(false)]
[ComVisible(true)]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface _ConstructorInfo
{
}
}
@@ -0,0 +1,16 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Exposes the public members of the <see cref="T:System.Reflection.EventInfo" /> class to unmanaged code.</summary>
// Token: 0x0200058F RID: 1423
[Token(Token = "0x200058F")]
[CLSCompliant(false)]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("9DE59C64-D889-35A1-B897-587D74469E5B")]
[ComVisible(true)]
public interface _EventInfo
{
}
}
@@ -0,0 +1,16 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Exposes the public members of the <see cref="T:System.Exception" /> class to unmanaged code.</summary>
// Token: 0x02000590 RID: 1424
[Token(Token = "0x2000590")]
[ComVisible(true)]
[Guid("b36b5c63-42ef-38bc-a07e-0b34c98f164a")]
[CLSCompliant(false)]
[InterfaceType(ComInterfaceType.InterfaceIsDual)]
public interface _Exception
{
}
}
@@ -0,0 +1,16 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Exposes the public members of the <see cref="T:System.Reflection.FieldInfo" /> class to unmanaged code.</summary>
// Token: 0x02000591 RID: 1425
[Token(Token = "0x2000591")]
[Guid("8A7C1442-A9FB-366B-80D8-4939FFA6DBE0")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[ComVisible(true)]
[CLSCompliant(false)]
public interface _FieldInfo
{
}
}
@@ -0,0 +1,16 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Exposes the public members of the <see cref="T:System.Reflection.MemberInfo" /> class to unmanaged code.</summary>
// Token: 0x02000592 RID: 1426
[Token(Token = "0x2000592")]
[Guid("f7102fa9-cabb-3a74-a6da-b4567ef1b079")]
[CLSCompliant(false)]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[ComVisible(true)]
public interface _MemberInfo
{
}
}
@@ -0,0 +1,16 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Exposes the public members of the <see cref="T:System.Reflection.MethodBase" /> class to unmanaged code.</summary>
// Token: 0x02000593 RID: 1427
[Token(Token = "0x2000593")]
[Guid("6240837A-707F-3181-8E98-A36AE086766B")]
[ComVisible(true)]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[CLSCompliant(false)]
public interface _MethodBase
{
}
}
@@ -0,0 +1,16 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Exposes the public members of the <see cref="T:System.Reflection.MethodInfo" /> class to unmanaged code.</summary>
// Token: 0x02000594 RID: 1428
[Token(Token = "0x2000594")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("FFCC1B5D-ECB8-38DD-9B01-3DC8ABC2AA5F")]
[CLSCompliant(false)]
[ComVisible(true)]
public interface _MethodInfo
{
}
}
@@ -0,0 +1,16 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Exposes the <see cref="T:System.Reflection.Module" /> class to unmanaged code.</summary>
// Token: 0x02000595 RID: 1429
[Token(Token = "0x2000595")]
[ComVisible(true)]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("D002E9BA-D9E3-3749-B1D3-D565A08B13E7")]
[CLSCompliant(false)]
public interface _Module
{
}
}
@@ -0,0 +1,16 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Exposes the <see cref="T:System.Reflection.ParameterInfo" /> class to unmanaged code.</summary>
// Token: 0x02000596 RID: 1430
[Token(Token = "0x2000596")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[CLSCompliant(false)]
[Guid("993634C4-E47A-32CC-BE08-85F567DC27D6")]
[ComVisible(true)]
public interface _ParameterInfo
{
}
}
@@ -0,0 +1,16 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Exposes the public members of the <see cref="T:System.Reflection.PropertyInfo" /> class to unmanaged code.</summary>
// Token: 0x02000597 RID: 1431
[Token(Token = "0x2000597")]
[ComVisible(true)]
[CLSCompliant(false)]
[Guid("F59ED4E4-E68F-3218-BD77-061AA82824BF")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface _PropertyInfo
{
}
}
@@ -0,0 +1,16 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Exposes the <see cref="T:System.Threading.Thread" /> class to unmanaged code.</summary>
// Token: 0x02000598 RID: 1432
[Token(Token = "0x2000598")]
[ComVisible(true)]
[Guid("C281C7F1-4AA9-3517-961A-463CFED57E75")]
[CLSCompliant(false)]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface _Thread
{
}
}
@@ -0,0 +1,16 @@
using System;
using Cpp2IlInjected;
namespace System.Runtime.InteropServices
{
/// <summary>Exposes the public members of the <see cref="T:System.Type" /> class to the unmanaged code.</summary>
// Token: 0x02000599 RID: 1433
[Token(Token = "0x2000599")]
[Guid("BCA8B44D-AAD6-3A86-8AB7-03349F4F2DA2")]
[ComVisible(true)]
[CLSCompliant(false)]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface _Type
{
}
}