Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Runtime.CompilerServices.CastHelpers Class Reference

Classes

struct  ArrayElement
 
struct  CastCacheEntry
 

Private Types

enum  CastResult { CannotCast , CanCast , MaybeCast }
 

Private Member Functions

static unsafe object IsInstanceOfAny_NoCacheLookup (void *toTypeHnd, object obj)
 
static unsafe object ChkCastAny_NoCacheLookup (void *toTypeHnd, object obj)
 
static unsafe ref byte Unbox_Helper (void *toTypeHnd, object obj)
 
static void WriteBarrier (ref object dst, object obj)
 

Static Private Member Functions

static int KeyToBucket (ref int tableData, nuint source, nuint target)
 
static ref int TableData (int[] table)
 
static ref CastCacheEntry Element (ref int tableData, int index)
 
static int HashShift (ref int tableData)
 
static int TableMask (ref int tableData)
 
static CastResult TryGet (nuint source, nuint target)
 
static unsafe object IsInstanceOfAny (void *toTypeHnd, object obj)
 
static unsafe object IsInstanceOfInterface (void *toTypeHnd, object obj)
 
static unsafe object IsInstanceOfClass (void *toTypeHnd, object obj)
 
static unsafe object IsInstance_Helper (void *toTypeHnd, object obj)
 
static unsafe object ChkCastAny (void *toTypeHnd, object obj)
 
static unsafe object ChkCast_Helper (void *toTypeHnd, object obj)
 
static unsafe object ChkCastInterface (void *toTypeHnd, object obj)
 
static unsafe object ChkCastClass (void *toTypeHnd, object obj)
 
static unsafe object ChkCastClassSpecial (void *toTypeHnd, object obj)
 
static unsafe ref byte Unbox (void *toTypeHnd, object obj)
 
static ref object ThrowArrayMismatchException ()
 
static unsafe ref object LdelemaRef (Array array, int index, void *type)
 
static unsafe void StelemRef (Array array, int index, object obj)
 
static unsafe void StelemRef_Helper (ref object element, void *elementType, object obj)
 
static unsafe void StelemRef_Helper_NoCacheLookup (ref object element, void *elementType, object obj)
 

Static Private Attributes

static int[] s_table
 

Detailed Description

Definition at line 9 of file CastHelpers.cs.


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