terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
System.Runtime.InteropServices.Marshal Class Reference
+ Collaboration diagram for System.Runtime.InteropServices.Marshal:

Classes

class  MarshalerInstanceKeyComparer
 

Public Member Functions

static global::System.IntPtr AllocHGlobal (global::System.IntPtr cb)
 
static void FreeBSTR (global::System.IntPtr ptr)
 
static void FreeHGlobal (global::System.IntPtr hglobal)
 
static int GetLastWin32Error ()
 
static string PtrToStringAnsi (global::System.IntPtr ptr)
 
static string PtrToStringUni (global::System.IntPtr ptr)
 
static object PtrToStructure (global::System.IntPtr ptr, global::System.Type structureType)
 
static void StructureToPtr (object structure, global::System.IntPtr ptr, bool fDeleteOld)
 
static global::System.IntPtr UnsafeAddrOfPinnedArrayElement (global::System.Array arr, int index)
 

Static Public Member Functions

static global::System.IntPtr AllocHGlobal (int cb)
 
static void Copy (byte[] source, int startIndex, global::System.IntPtr destination, int length)
 
static void Copy (global::System.IntPtr source, byte[] destination, int startIndex, int length)
 
static void Copy (global::System.IntPtr source, char[] destination, int startIndex, int length)
 
static void Copy (global::System.IntPtr source, short[] destination, int startIndex, int length)
 
static void Copy (global::System.IntPtr source, int[] destination, int startIndex, int length)
 
static void ZeroFreeBSTR (global::System.IntPtr s)
 
static void ZeroFreeGlobalAllocAnsi (global::System.IntPtr s)
 
static void ZeroFreeGlobalAllocUnicode (global::System.IntPtr s)
 
static int GetHRForException (global::System.Exception e)
 
static bool IsComObject (object o)
 
static T PtrToStructure< T > (global::System.IntPtr ptr)
 
static unsafe byte ReadByte (global::System.IntPtr ptr, int ofs)
 
static unsafe short ReadInt16 (global::System.IntPtr ptr, int ofs)
 
static unsafe int ReadInt32 (global::System.IntPtr ptr, int ofs)
 
static global::System.IntPtr StringToHGlobalAnsi (string s)
 
static global::System.IntPtr SecureStringToBSTR (global::System.Security.SecureString s)
 
static global::System.IntPtr SecureStringToGlobalAllocUnicode (global::System.Security.SecureString s)
 
static void StructureToPtr< T > (T structure, global::System.IntPtr ptr, bool fDeleteOld)
 
static global::System.IntPtr UnsafeAddrOfPinnedArrayElement< T > (T[] arr, int index)
 
static unsafe void WriteByte (global::System.IntPtr ptr, int ofs, byte val)
 
static unsafe void WriteInt16 (global::System.IntPtr ptr, int ofs, short val)
 
static global::System.IntPtr GetFunctionPointerForDelegate< TDelegate > (TDelegate d)
 

Static Public Attributes

static readonly int SystemMaxDBCSCharSize
 
static readonly int SystemDefaultCharSize
 

Package Functions

static void SetLastWin32Error (int error)
 
delegate global::System.IntPtr SecureStringAllocator (int len)
 

Static Package Functions

static void copy_to_unmanaged (byte[] source, int startIndex, global::System.IntPtr destination, int length)
 
static void copy_from_unmanaged (global::System.IntPtr source, int startIndex, global::System.Array destination, int length)
 
static global::System.IntPtr SecureStringGlobalAllocator (int len)
 
static global::System.IntPtr SecureStringToUnicode (global::System.Security.SecureString s, Marshal.SecureStringAllocator allocator)
 
static ICustomMarshaler GetCustomMarshalerInstance (global::System.Type type, string cookie)
 

Static Package Attributes

static global::System.Collections.Generic.Dictionary< global::System.ValueTuple< global::System.Type, string >, ICustomMarshalerMarshalerInstanceCache
 
static readonly object MarshalerInstanceCacheLock
 

Private Member Functions

static unsafe void copy_to_unmanaged_fixed (global::System.Array source, int startIndex, global::System.IntPtr destination, int length, void *fixed_source_element)
 
static unsafe void copy_from_unmanaged_fixed (global::System.IntPtr source, int startIndex, global::System.Array destination, int length, void *fixed_destination_element)
 
static unsafe global::System.IntPtr StringToHGlobalAnsi (char *s, int length)
 
static unsafe global::System.IntPtr BufferToBSTR (char *ptr, int slen)
 
static global::System.IntPtr GetFunctionPointerForDelegateInternal (global::System.Delegate d)
 

Static Private Member Functions

static bool skip_fixed (global::System.Array array, int startIndex)
 
static unsafe void ClearBSTR (global::System.IntPtr ptr)
 
static unsafe void ClearAnsi (global::System.IntPtr ptr)
 
static void ClearUnicode (global::System.IntPtr ptr)
 
static Marshal ()
 

Detailed Description

Definition at line 19 of file Marshal.cs.


The documentation for this class was generated from the following file: