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

Public Member Functions

int CompareTo (object? obj)
 
int CompareTo (sbyte value)
 
override bool Equals ([NotNullWhen(true)] object? obj)
 
bool Equals (sbyte obj)
 
override int GetHashCode ()
 
override string ToString ()
 
string ToString (string? format)
 
string ToString (IFormatProvider? provider)
 
string ToString (string? format, IFormatProvider? provider)
 
bool TryFormat (Span< char > destination, out int charsWritten, ReadOnlySpan< char > format=default(ReadOnlySpan< char >), IFormatProvider? provider=null)
 
TypeCode GetTypeCode ()
 
bool IConvertible. ToBoolean (IFormatProvider provider)
 
char IConvertible. ToChar (IFormatProvider provider)
 
sbyte IConvertible. ToSByte (IFormatProvider provider)
 
byte IConvertible. ToByte (IFormatProvider provider)
 
short IConvertible. ToInt16 (IFormatProvider provider)
 
ushort IConvertible. ToUInt16 (IFormatProvider provider)
 
int IConvertible. ToInt32 (IFormatProvider provider)
 
uint IConvertible. ToUInt32 (IFormatProvider provider)
 
long IConvertible. ToInt64 (IFormatProvider provider)
 
ulong IConvertible. ToUInt64 (IFormatProvider provider)
 
float IConvertible. ToSingle (IFormatProvider provider)
 
double IConvertible. ToDouble (IFormatProvider provider)
 
decimal IConvertible. ToDecimal (IFormatProvider provider)
 
DateTime IConvertible. ToDateTime (IFormatProvider provider)
 
object IConvertible. ToType (Type type, IFormatProvider provider)
 
int CompareTo (T? other)
 
bool ToBoolean (IFormatProvider? provider)
 
char ToChar (IFormatProvider? provider)
 
sbyte ToSByte (IFormatProvider? provider)
 
byte ToByte (IFormatProvider? provider)
 
short ToInt16 (IFormatProvider? provider)
 
ushort ToUInt16 (IFormatProvider? provider)
 
int ToInt32 (IFormatProvider? provider)
 
uint ToUInt32 (IFormatProvider? provider)
 
long ToInt64 (IFormatProvider? provider)
 
ulong ToUInt64 (IFormatProvider? provider)
 
float ToSingle (IFormatProvider? provider)
 
double ToDouble (IFormatProvider? provider)
 
decimal ToDecimal (IFormatProvider? provider)
 
DateTime ToDateTime (IFormatProvider? provider)
 
object ToType (Type conversionType, IFormatProvider? provider)
 
int CompareTo (T? other)
 
bool Equals (T? other)
 

Static Public Member Functions

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

const sbyte MaxValue = 127
 
const sbyte MinValue = -128
 
static sbyte Quotient
 

Properties

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

Static Private Member Functions

static sbyte Parse (ReadOnlySpan< char > s, NumberStyles style, NumberFormatInfo info)
 
static bool TryParse (ReadOnlySpan< char > s, NumberStyles style, NumberFormatInfo info, out sbyte result)
 

Private Attributes

readonly sbyte m_value
 

Detailed Description

Definition at line 12 of file SByte.cs.


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