Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.IntPtr Struct Reference

Public Member Functions

unsafe IntPtr (int value)
 
unsafe IntPtr (long value)
 
unsafe IntPtr (void *value)
 
void ISerializable. GetObjectData (SerializationInfo info, StreamingContext context)
 
unsafe override bool Equals ([NotNullWhen(true)] object? obj)
 
unsafe override int GetHashCode ()
 
unsafe int ToInt32 ()
 
unsafe long ToInt64 ()
 
unsafe void * ToPointer ()
 
unsafe int CompareTo (object? value)
 
unsafe int CompareTo (IntPtr value)
 
unsafe bool Equals (IntPtr other)
 
unsafe override string ToString ()
 
unsafe string ToString (string? format)
 
unsafe string ToString (IFormatProvider? provider)
 
unsafe string ToString (string? format, IFormatProvider? provider)
 
unsafe bool TryFormat (Span< char > destination, out int charsWritten, ReadOnlySpan< char > format=default(ReadOnlySpan< char >), IFormatProvider? provider=null)
 
bool Equals (T? other)
 
int CompareTo (T? other)
 
int CompareTo (T? other)
 

Static Public Member Functions

static operator IntPtr (int value)
 
static operator IntPtr (long value)
 
static unsafe operator IntPtr (void *value)
 
static unsafe operator void * (IntPtr value)
 
static unsafe operator int (IntPtr value)
 
static unsafe operator long (IntPtr value)
 
static unsafe bool operator== (IntPtr value1, IntPtr value2)
 
static unsafe bool operator!= (IntPtr value1, IntPtr value2)
 
static IntPtr Add (IntPtr pointer, int offset)
 
static unsafe IntPtr operator+ (IntPtr pointer, int offset)
 
static IntPtr Subtract (IntPtr pointer, int offset)
 
static unsafe IntPtr operator- (IntPtr pointer, int offset)
 
static IntPtr Parse (string s)
 
static IntPtr Parse (string s, NumberStyles style)
 
static IntPtr Parse (string s, IFormatProvider? provider)
 
static IntPtr Parse (string s, NumberStyles style, IFormatProvider? provider)
 
static IntPtr Parse (ReadOnlySpan< char > s, NumberStyles style=NumberStyles.Integer, IFormatProvider? provider=null)
 
static bool TryParse ([NotNullWhen(true)] string? s, out IntPtr result)
 
static bool TryParse ([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, out IntPtr result)
 
static bool TryParse (ReadOnlySpan< char > s, out IntPtr result)
 
static bool TryParse (ReadOnlySpan< char > s, NumberStyles style, IFormatProvider? provider, out IntPtr result)
 
static nint IAdditionOperators< IntPtr, IntPtr, IntPtr >. operator+ (nint left, nint right)
 
static nint IBinaryInteger< IntPtr >. LeadingZeroCount (nint value)
 
static nint IBinaryInteger< IntPtr >. PopCount (nint value)
 
static nint IBinaryInteger< IntPtr >. RotateLeft (nint value, int rotateAmount)
 
static nint IBinaryInteger< IntPtr >. RotateRight (nint value, int rotateAmount)
 
static nint IBinaryInteger< IntPtr >. TrailingZeroCount (nint value)
 
static bool IBinaryNumber< IntPtr >. IsPow2 (nint value)
 
static nint IBinaryNumber< IntPtr >. Log2 (nint value)
 
static nint IBitwiseOperators< IntPtr, IntPtr, IntPtr >. operator& (nint left, nint right)
 
static nint IBitwiseOperators< IntPtr, IntPtr, IntPtr >. operator| (nint left, nint right)
 
static nint IBitwiseOperators< IntPtr, IntPtr, IntPtr >. operator^ (nint left, nint right)
 
static nint IBitwiseOperators< IntPtr, IntPtr, IntPtr >. operator~ (nint value)
 
static bool IComparisonOperators< IntPtr, IntPtr >. operator< (nint left, nint right)
 
static bool IComparisonOperators< IntPtr, IntPtr >. operator<= (nint left, nint right)
 
static bool IComparisonOperators< IntPtr, IntPtr >. operator> (nint left, nint right)
 
static bool IComparisonOperators< IntPtr, IntPtr >. operator>= (nint left, nint right)
 
static nint IDecrementOperators< IntPtr >. operator-- (nint value)
 
static nint IDivisionOperators< IntPtr, IntPtr, IntPtr >. operator/ (nint left, nint right)
 
static bool IEqualityOperators< IntPtr, IntPtr >. operator== (nint left, nint right)
 
static bool IEqualityOperators< IntPtr, IntPtr >. operator!= (nint left, nint right)
 
static nint IIncrementOperators< IntPtr >. operator++ (nint value)
 
static nint IModulusOperators< IntPtr, IntPtr, IntPtr >. operator% (nint left, nint right)
 
static nint IMultiplyOperators< IntPtr, IntPtr, IntPtr >. operator* (nint left, nint right)
 
static nint INumber< IntPtr >. Abs (nint value)
 
static nint INumber< IntPtr >. Clamp (nint value, nint min, nint max)
 
static nint INumber< IntPtr >. Create< TOther > (TOther value)
 
static nint INumber< IntPtr >. CreateSaturating< TOther > (TOther value)
 
static nint INumber< IntPtr >. CreateTruncating< TOther > (TOther value)
 
static nint nint Remainder INumber< IntPtr >. DivRem (nint left, nint right)
 
static nint INumber< IntPtr >. Max (nint x, nint y)
 
static nint INumber< IntPtr >. Min (nint x, nint y)
 
static nint INumber< IntPtr >. Parse (string s, NumberStyles style, IFormatProvider provider)
 
static nint INumber< IntPtr >. Parse (ReadOnlySpan< char > s, NumberStyles style, IFormatProvider provider)
 
static nint INumber< IntPtr >. Sign (nint value)
 
static bool INumber< IntPtr >. TryCreate< TOther > (TOther value, out nint result)
 
static bool INumber< IntPtr >. TryParse ([NotNullWhen(true)] string s, NumberStyles style, IFormatProvider provider, out nint result)
 
static bool INumber< IntPtr >. TryParse (ReadOnlySpan< char > s, NumberStyles style, IFormatProvider provider, out nint result)
 
static nint IParseable< IntPtr >. Parse (string s, IFormatProvider provider)
 
static bool IParseable< IntPtr >. TryParse ([NotNullWhen(true)] string s, IFormatProvider provider, out nint result)
 
static nint IShiftOperators< IntPtr, IntPtr >. operator<< (nint value, int shiftAmount)
 
static nint IShiftOperators< IntPtr, IntPtr >. operator>> (nint value, int shiftAmount)
 
static nint ISpanParseable< IntPtr >. Parse (ReadOnlySpan< char > s, IFormatProvider provider)
 
static bool ISpanParseable< IntPtr >. TryParse (ReadOnlySpan< char > s, IFormatProvider provider, out nint result)
 
static nint ISubtractionOperators< IntPtr, IntPtr, IntPtr >. operator- (nint left, nint right)
 
static nint IUnaryNegationOperators< IntPtr, IntPtr >. operator- (nint value)
 
static nint IUnaryPlusOperators< IntPtr, IntPtr >. operator+ (nint value)
 
static TSelf LeadingZeroCount (TSelf value)
 
static TSelf PopCount (TSelf value)
 
static TSelf RotateLeft (TSelf value, int rotateAmount)
 
static TSelf RotateRight (TSelf value, int rotateAmount)
 
static TSelf TrailingZeroCount (TSelf value)
 
static bool IsPow2 (TSelf value)
 
static TSelf Log2 (TSelf value)
 
static TResult operator& (TSelf left, TOther right)
 
static TResult operator| (TSelf left, TOther right)
 
static TResult operator^ (TSelf left, TOther right)
 
static TResult operator~ (TSelf value)
 
static TSelf Abs (TSelf value)
 
static TSelf Clamp (TSelf value, TSelf min, TSelf max)
 
static TSelf TSelf Remainder DivRem (TSelf left, TSelf right)
 
static TSelf Max (TSelf x, TSelf y)
 
static TSelf Min (TSelf x, TSelf y)
 
static TSelf Parse (string s, NumberStyles style, IFormatProvider? provider)
 
static TSelf Parse (ReadOnlySpan< char > s, NumberStyles style, IFormatProvider? provider)
 
static TSelf Sign (TSelf value)
 
static bool TryCreate< TOther > (TOther value, out TSelf result)
 
static bool TryParse ([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, out TSelf result)
 
static bool TryParse (ReadOnlySpan< char > s, NumberStyles style, IFormatProvider? provider, out TSelf result)
 
static TResult operator+ (TSelf left, TOther right)
 
static bool operator< (TSelf left, TOther right)
 
static bool operator<= (TSelf left, TOther right)
 
static bool operator> (TSelf left, TOther right)
 
static bool operator>= (TSelf left, TOther right)
 
static bool operator== (TSelf left, TOther right)
 
static bool operator!= (TSelf left, TOther right)
 
static TSelf operator-- (TSelf value)
 
static TResult operator/ (TSelf left, TOther right)
 
static TSelf operator++ (TSelf value)
 
static TResult operator% (TSelf left, TOther right)
 
static TResult operator* (TSelf left, TOther right)
 
static TSelf Parse (ReadOnlySpan< char > s, IFormatProvider? provider)
 
static bool TryParse (ReadOnlySpan< char > s, IFormatProvider? provider, out TSelf result)
 
static bool TryParse ([NotNullWhen(true)] string? s, IFormatProvider? provider, out TSelf result)
 
static TResult operator- (TSelf left, TOther right)
 
static TResult operator- (TSelf value)
 
static TResult operator+ (TSelf value)
 
static TResult operator<< (TSelf value, int shiftAmount)
 
static TResult operator>> (TSelf value, int shiftAmount)
 

Static Public Attributes

static readonly IntPtr Zero
 
static nint Quotient
 

Properties

static int Size [get]
 
static IntPtr MaxValue [get]
 
static IntPtr MinValue [get]
 
static nint IAdditiveIdentity< IntPtr, IntPtr >. AdditiveIdentity [get]
 
static nint IMinMaxValue< IntPtr >. MinValue [get]
 
static nint IMinMaxValue< IntPtr >. MaxValue [get]
 
static nint IMultiplicativeIdentity< IntPtr, IntPtr >. MultiplicativeIdentity [get]
 
static nint INumber< IntPtr >. One [get]
 
static nint INumber< IntPtr >. Zero [get]
 
static nint ISignedNumber< IntPtr >. NegativeOne [get]
 

Private Member Functions

unsafe IntPtr (SerializationInfo info, StreamingContext context)
 

Private Attributes

unsafe readonly void * _value
 

Detailed Description

Definition at line 13 of file IntPtr.cs.


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