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

Public Member Functions

override int GetHashCode ()
 
override bool Equals ([NotNullWhen(true)] object? obj)
 
bool Equals (char obj)
 
int CompareTo (object? value)
 
int CompareTo (char value)
 
override string ToString ()
 
string ToString (IFormatProvider? provider)
 
bool ISpanFormattable. TryFormat (Span< char > destination, out int charsWritten, ReadOnlySpan< char > format, IFormatProvider provider)
 
string IFormattable. ToString (string format, IFormatProvider formatProvider)
 
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)
 
int CompareTo (T? other)
 
bool Equals (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)
 
bool TryFormat (Span< char > destination, out int charsWritten, ReadOnlySpan< char > format, IFormatProvider? provider)
 
string ToString (string? format, IFormatProvider? formatProvider)
 

Static Public Member Functions

static bool IsAscii (char c)
 
static string ToString (char c)
 
static char Parse (string s)
 
static bool TryParse ([NotNullWhen(true)] string? s, out char result)
 
static bool IsDigit (char c)
 
static bool IsLetter (char c)
 
static bool IsWhiteSpace (char c)
 
static bool IsUpper (char c)
 
static bool IsLower (char c)
 
static bool IsPunctuation (char c)
 
static bool IsLetterOrDigit (char c)
 
static char ToUpper (char c, CultureInfo culture)
 
static char ToUpper (char c)
 
static char ToUpperInvariant (char c)
 
static char ToLower (char c, CultureInfo culture)
 
static char ToLower (char c)
 
static char ToLowerInvariant (char c)
 
static bool IsControl (char c)
 
static bool IsControl (string s, int index)
 
static bool IsDigit (string s, int index)
 
static bool IsLetter (string s, int index)
 
static bool IsLetterOrDigit (string s, int index)
 
static bool IsLower (string s, int index)
 
static bool IsNumber (char c)
 
static bool IsNumber (string s, int index)
 
static bool IsPunctuation (string s, int index)
 
static bool IsSeparator (char c)
 
static bool IsSeparator (string s, int index)
 
static bool IsSurrogate (char c)
 
static bool IsSurrogate (string s, int index)
 
static bool IsSymbol (char c)
 
static bool IsSymbol (string s, int index)
 
static bool IsUpper (string s, int index)
 
static bool IsWhiteSpace (string s, int index)
 
static UnicodeCategory GetUnicodeCategory (char c)
 
static UnicodeCategory GetUnicodeCategory (string s, int index)
 
static double GetNumericValue (char c)
 
static double GetNumericValue (string s, int index)
 
static bool IsHighSurrogate (char c)
 
static bool IsHighSurrogate (string s, int index)
 
static bool IsLowSurrogate (char c)
 
static bool IsLowSurrogate (string s, int index)
 
static bool IsSurrogatePair (string s, int index)
 
static bool IsSurrogatePair (char highSurrogate, char lowSurrogate)
 
static string ConvertFromUtf32 (int utf32)
 
static int ConvertToUtf32 (char highSurrogate, char lowSurrogate)
 
static int ConvertToUtf32 (string s, int index)
 
static char IAdditionOperators< char, char, char >. operator+ (char left, char right)
 
static char IBinaryInteger< char >. LeadingZeroCount (char value)
 
static char IBinaryInteger< char >. PopCount (char value)
 
static char IBinaryInteger< char >. RotateLeft (char value, int rotateAmount)
 
static char IBinaryInteger< char >. RotateRight (char value, int rotateAmount)
 
static char IBinaryInteger< char >. TrailingZeroCount (char value)
 
static bool IBinaryNumber< char >. IsPow2 (char value)
 
static char IBinaryNumber< char >. Log2 (char value)
 
static char IBitwiseOperators< char, char, char >. operator& (char left, char right)
 
static char IBitwiseOperators< char, char, char >. operator| (char left, char right)
 
static char IBitwiseOperators< char, char, char >. operator^ (char left, char right)
 
static char IBitwiseOperators< char, char, char >. operator~ (char value)
 
static bool IComparisonOperators< char, char >. operator< (char left, char right)
 
static bool IComparisonOperators< char, char >. operator<= (char left, char right)
 
static bool IComparisonOperators< char, char >. operator> (char left, char right)
 
static bool IComparisonOperators< char, char >. operator>= (char left, char right)
 
static char IDecrementOperators< char >. operator-- (char value)
 
static char IDivisionOperators< char, char, char >. operator/ (char left, char right)
 
static bool IEqualityOperators< char, char >. operator== (char left, char right)
 
static bool IEqualityOperators< char, char >. operator!= (char left, char right)
 
static char IIncrementOperators< char >. operator++ (char value)
 
static char IModulusOperators< char, char, char >. operator% (char left, char right)
 
static char IMultiplyOperators< char, char, char >. operator* (char left, char right)
 
static char INumber< char >. Abs (char value)
 
static char INumber< char >. Clamp (char value, char min, char max)
 
static char INumber< char >. Create< TOther > (TOther value)
 
static char INumber< char >. CreateSaturating< TOther > (TOther value)
 
static char INumber< char >. CreateTruncating< TOther > (TOther value)
 
static char char Remainder INumber< char >. DivRem (char left, char right)
 
static char INumber< char >. Max (char x, char y)
 
static char INumber< char >. Min (char x, char y)
 
static char INumber< char >. Parse (string s, NumberStyles style, IFormatProvider provider)
 
static char INumber< char >. Parse (ReadOnlySpan< char > s, NumberStyles style, IFormatProvider provider)
 
static char INumber< char >. Sign (char value)
 
static bool INumber< char >. TryCreate< TOther > (TOther value, out char result)
 
static bool INumber< char >. TryParse ([NotNullWhen(true)] string s, NumberStyles style, IFormatProvider provider, out char result)
 
static bool INumber< char >. TryParse (ReadOnlySpan< char > s, NumberStyles style, IFormatProvider provider, out char result)
 
static char IParseable< char >. Parse (string s, IFormatProvider provider)
 
static bool IParseable< char >. TryParse ([NotNullWhen(true)] string s, IFormatProvider provider, out char result)
 
static char IShiftOperators< char, char >. operator<< (char value, int shiftAmount)
 
static char IShiftOperators< char, char >. operator>> (char value, int shiftAmount)
 
static char ISpanParseable< char >. Parse (ReadOnlySpan< char > s, IFormatProvider provider)
 
static bool ISpanParseable< char >. TryParse (ReadOnlySpan< char > s, IFormatProvider provider, out char result)
 
static char ISubtractionOperators< char, char, char >. operator- (char left, char right)
 
static char IUnaryNegationOperators< char, char >. operator- (char value)
 
static char IUnaryPlusOperators< char, char >. operator+ (char 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 TSelf Parse (string s, IFormatProvider? provider)
 
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 char MaxValue = '\uffff'
 
const char MinValue = '\0'
 
static char Quotient
 

Static Package Functions

static bool IsInRange (char c, char min, char max)
 
static bool CheckLetter (UnicodeCategory uc)
 
static bool CheckPunctuation (UnicodeCategory uc)
 
static bool CheckLetterOrDigit (UnicodeCategory uc)
 
static bool CheckNumber (UnicodeCategory uc)
 
static bool CheckSeparator (UnicodeCategory uc)
 
static bool CheckSymbol (UnicodeCategory uc)
 

Properties

static ReadOnlySpan< byte > Latin1CharInfo [get]
 
static char IAdditiveIdentity< char, char >. AdditiveIdentity [get]
 
static char IMinMaxValue< char >. MinValue [get]
 
static char IMinMaxValue< char >. MaxValue [get]
 
static char IMultiplicativeIdentity< char, char >. MultiplicativeIdentity [get]
 
static char INumber< char >. One [get]
 
static char INumber< char >. Zero [get]
 

Static Private Member Functions

static bool IsLatin1 (char c)
 
static UnicodeCategory GetLatin1UnicodeCategory (char c)
 
static bool IsInRange (UnicodeCategory c, UnicodeCategory min, UnicodeCategory max)
 
static bool IsWhiteSpaceLatin1 (char c)
 
static bool IsSeparatorLatin1 (char c)
 
static void ConvertToUtf32_ThrowInvalidArgs (uint highSurrogateOffset)
 

Private Attributes

readonly char m_value
 

Detailed Description

Definition at line 13 of file Char.cs.


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