|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
| void | Free () |
| unsafe IntPtr | AddrOfPinnedObject () |
| override int | GetHashCode () |
| override bool | Equals ([NotNullWhen(true)] object? o) |
Static Public Member Functions | |
| static GCHandle | Alloc (object? value) |
| static GCHandle | Alloc (object? value, GCHandleType type) |
| static | operator GCHandle (IntPtr value) |
| static GCHandle | FromIntPtr (IntPtr value) |
| static | operator IntPtr (GCHandle value) |
| static IntPtr | ToIntPtr (GCHandle value) |
| static bool | operator== (GCHandle a, GCHandle b) |
| static bool | operator!= (GCHandle a, GCHandle b) |
Package Functions | |
| static void | InternalFree (IntPtr handle) |
| static void | InternalSet (IntPtr handle, object value) |
| static object | InternalCompareExchange (IntPtr handle, object value, object oldValue) |
Static Package Functions | |
| static unsafe object | InternalGet (IntPtr handle) |
Properties | |
| object? | Target [get, set] |
| bool | IsAllocated [get] |
Private Member Functions | |
| static IntPtr | InternalAlloc (object value, GCHandleType type) |
| GCHandle (object value, GCHandleType type) | |
| GCHandle (IntPtr handle) | |
Static Private Member Functions | |
| static IntPtr | GetHandleValue (IntPtr handle) |
| static bool | IsPinned (IntPtr handle) |
| static void | ThrowIfInvalid (IntPtr handle) |
Private Attributes | |
| IntPtr | _handle |
Definition at line 8 of file GCHandle.cs.