terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
System.String Class Referencesealed
+ Inheritance diagram for System.String:

Classes

struct  ProbabilisticMap
 

Public Member Functions

int CompareTo (object value)
 
int CompareTo (string strB)
 
bool EndsWith (string value)
 
bool EndsWith (string value, StringComparison comparisonType)
 
bool EndsWith (char value)
 
override bool Equals (object obj)
 
bool Equals (string value)
 
bool Equals (string value, StringComparison comparisonType)
 
override int GetHashCode ()
 
bool StartsWith (string value)
 
bool StartsWith (string value, StringComparison comparisonType)
 
string Insert (int startIndex, string value)
 
string PadRight (int totalWidth, char paddingChar)
 
string Remove (int startIndex, int count)
 
string Remove (int startIndex)
 
string Replace (char oldChar, char newChar)
 
string Replace (string oldValue, string newValue)
 
string[] Split (char separator, StringSplitOptions options=StringSplitOptions.None)
 
string[] Split (params char[] separator)
 
string[] Split (char[] separator, int count)
 
string[] Split (char[] separator, StringSplitOptions options)
 
string[] Split (string[] separator, StringSplitOptions options)
 
string Substring (int startIndex)
 
string Substring (int startIndex, int length)
 
string ToLower ()
 
string ToLower (CultureInfo culture)
 
string ToLowerInvariant ()
 
string ToUpper ()
 
string ToUpper (CultureInfo culture)
 
string ToUpperInvariant ()
 
string Trim ()
 
string Trim (char trimChar)
 
string Trim (params char[] trimChars)
 
string TrimStart (params char[] trimChars)
 
string TrimEnd ()
 
string TrimEnd (params char[] trimChars)
 
bool Contains (string value)
 
int IndexOf (char value)
 
int IndexOf (char value, int startIndex)
 
int IndexOf (char value, int startIndex, int count)
 
int IndexOfAny (char[] anyOf)
 
int IndexOfAny (char[] anyOf, int startIndex)
 
int IndexOfAny (char[] anyOf, int startIndex, int count)
 
int IndexOf (string value)
 
int IndexOf (string value, int startIndex)
 
int IndexOf (string value, StringComparison comparisonType)
 
int IndexOf (string value, int startIndex, StringComparison comparisonType)
 
int IndexOf (string value, int startIndex, int count, StringComparison comparisonType)
 
int LastIndexOf (char value)
 
int LastIndexOf (char value, int startIndex)
 
int LastIndexOf (char value, int startIndex, int count)
 
int LastIndexOfAny (char[] anyOf)
 
int LastIndexOfAny (char[] anyOf, int startIndex)
 
int LastIndexOfAny (char[] anyOf, int startIndex, int count)
 
int LastIndexOf (string value)
 
int LastIndexOf (string value, StringComparison comparisonType)
 
int LastIndexOf (string value, int startIndex, int count, StringComparison comparisonType)
 
 String (char[] value)
 
 String (char[] value, int startIndex, int length)
 
unsafe String (char *value, int startIndex, int length)
 
unsafe String (sbyte *value, int startIndex, int length)
 
unsafe String (sbyte *value, int startIndex, int length, Encoding enc)
 
 String (char c, int count)
 
 String (ReadOnlySpan< char > value)
 
object Clone ()
 
void CopyTo (int sourceIndex, char[] destination, int destinationIndex, int count)
 
char[] ToCharArray ()
 
override string ToString ()
 
string ToString (IFormatProvider provider)
 
TypeCode GetTypeCode ()
 
string Normalize (NormalizationForm normalizationForm)
 
int CompareTo (T other)
 
int CompareTo (T other)
 
bool Equals (T other)
 

Static Public Member Functions

static int Compare (string strA, string strB)
 
static int Compare (string strA, string strB, bool ignoreCase)
 
static int Compare (string strA, string strB, StringComparison comparisonType)
 
static int Compare (string strA, string strB, CultureInfo culture, CompareOptions options)
 
static int Compare (string strA, string strB, bool ignoreCase, CultureInfo culture)
 
static int Compare (string strA, int indexA, string strB, int indexB, int length, StringComparison comparisonType)
 
static int CompareOrdinal (string strA, string strB)
 
static int CompareOrdinal (string strA, int indexA, string strB, int indexB, int length)
 
static bool Equals (string a, string b)
 
static bool Equals (string a, string b, StringComparison comparisonType)
 
static bool operator== (string a, string b)
 
static bool operator!= (string a, string b)
 
static string Concat (object arg0, object arg1)
 
static string Concat (object arg0, object arg1, object arg2)
 
static string Concat (string str0, string str1)
 
static string Concat (string str0, string str1, string str2)
 
static string Concat (string str0, string str1, string str2, string str3)
 
static string Concat (params string[] values)
 
static string Format (string format, object arg0)
 
static string Format (string format, object arg0, object arg1)
 
static string Format (string format, object arg0, object arg1, object arg2)
 
static string Format (string format, params object[] args)
 
static string Format (IFormatProvider provider, string format, object arg0)
 
static string Format (IFormatProvider provider, string format, object arg0, object arg1)
 
static string Format (IFormatProvider provider, string format, object arg0, object arg1, object arg2)
 
static string Format (IFormatProvider provider, string format, params object[] args)
 
static string Join (string separator, params string[] value)
 
static string Join (string separator, IEnumerable< string > values)
 
static string Join (string separator, string[] value, int startIndex, int count)
 
static string Create< TState > (int length, TState state, SpanAction< char, TState > action)
 
static implicit operator ReadOnlySpan< char > (string value)
 
static string Copy (string str)
 
static bool IsNullOrEmpty (string value)
 
static bool IsNullOrWhiteSpace (string value)
 

Static Public Attributes

static readonly string Empty
 

Package Functions

int GetLegacyNonRandomizedHashCode ()
 
char GetRawStringData ()
 
int IndexOfUnchecked (string value, int startIndex, int count)
 
int IndexOfUncheckedIgnoreCase (string value, int startIndex, int count)
 
int LastIndexOfUnchecked (string value, int startIndex, int count)
 
int LastIndexOfUncheckedIgnoreCase (string value, int startIndex, int count)
 
bool StartsWithOrdinalUnchecked (string value)
 

Static Package Functions

static int CompareOrdinal (ReadOnlySpan< char > strA, ReadOnlySpan< char > strB)
 
static void CheckStringComparison (StringComparison comparisonType)
 
static unsafe string CreateStringFromEncoding (byte *bytes, int byteLength, Encoding encoding)
 
static string CreateFromChar (char c)
 
static unsafe void wstrcpy (char *dmem, char *smem, int charCount)
 
static unsafe int wcslen (char *ptr)
 
static string FastAllocateString (int length)
 
static unsafe void bzero (byte *dest, int len)
 
static unsafe void bzero_aligned_1 (byte *dest, int len)
 
static unsafe void bzero_aligned_2 (byte *dest, int len)
 
static unsafe void bzero_aligned_4 (byte *dest, int len)
 
static unsafe void bzero_aligned_8 (byte *dest, int len)
 
static unsafe void memcpy_aligned_1 (byte *dest, byte *src, int size)
 
static unsafe void memcpy_aligned_2 (byte *dest, byte *src, int size)
 
static unsafe void memcpy_aligned_4 (byte *dest, byte *src, int size)
 
static unsafe void memcpy_aligned_8 (byte *dest, byte *src, int size)
 

Properties

int Length [get]
 
char this[int index] [get]
 

Private Types

enum  TrimType { Head , Tail , Both }
 

Private Member Functions

string ReplaceHelper (int oldValueLength, string newValue, ReadOnlySpan< int > indices)
 
string[] SplitInternal (ReadOnlySpan< char > separators, int count, StringSplitOptions options)
 
string[] SplitInternal (string separator, string[] separators, int count, StringSplitOptions options)
 
string[] SplitInternal (string separator, int count, StringSplitOptions options)
 
string[] SplitKeepEmptyEntries (ReadOnlySpan< int > sepList, ReadOnlySpan< int > lengthList, int defaultLength, int count)
 
string[] SplitOmitEmptyEntries (ReadOnlySpan< int > sepList, ReadOnlySpan< int > lengthList, int defaultLength, int count)
 
void MakeSeparatorList (ReadOnlySpan< char > separators, ValueListBuilder< int > sepListBuilder)
 
void MakeSeparatorList (string separator, ValueListBuilder< int > sepListBuilder)
 
void MakeSeparatorList (string[] separators, ValueListBuilder< int > sepListBuilder, ValueListBuilder< int > lengthListBuilder)
 
string InternalSubString (int startIndex, int length)
 
string TrimWhiteSpaceHelper (string.TrimType trimType)
 
unsafe string TrimHelper (char *trimChars, int trimCharsLength, string.TrimType trimType)
 
string CreateTrimmedString (int start, int end)
 
int IndexOfAny (char value1, char value2, int startIndex, int count)
 
int IndexOfAny (char value1, char value2, char value3, int startIndex, int count)
 
int IndexOfCharArray (char[] anyOf, int startIndex, int count)
 
int LastIndexOfCharArray (char[] anyOf, int startIndex, int count)
 
IEnumerator< char > IEnumerable< char >. GetEnumerator ()
 
IEnumerator IEnumerable. GetEnumerator ()
 
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)
 
unsafe string CreateString (sbyte *value, int startIndex, int length)
 
unsafe string CreateString (char *value, int startIndex, int length)
 
string CreateString (char[] val, int startIndex, int length)
 
string CreateString (char[] val)
 
string CreateString (char c, int count)
 
unsafe string CreateString (sbyte *value, int startIndex, int length, Encoding enc)
 
string CreateString (ReadOnlySpan< char > value)
 

Static Private Member Functions

static bool EqualsHelper (string strA, string strB)
 
static int CompareOrdinalHelper (string strA, int indexA, int countA, string strB, int indexB, int countB)
 
static int CompareOrdinalHelper (string strA, string strB)
 
static void FillStringChecked (string dest, int destPos, string src)
 
static string FormatHelper (IFormatProvider provider, string format, ParamsArray args)
 
static unsafe string JoinCore (char *separator, int separatorLength, string[] value, int startIndex, int count)
 
static unsafe void InitializeProbabilisticMap (uint *charMap, ReadOnlySpan< char > anyOf)
 
static bool ArrayContains (char searchChar, char[] anyOf)
 
static unsafe bool IsCharBitSet (uint *charMap, byte value)
 
static unsafe void SetCharBit (uint *charMap, byte value)
 
static string Ctor (char[] value)
 
static string Ctor (char[] value, int startIndex, int length)
 
static unsafe string Ctor (char *ptr, int startIndex, int length)
 
static unsafe string Ctor (sbyte *value, int startIndex, int length)
 
static unsafe string CreateStringForSByteConstructor (byte *pb, int numBytes)
 
static unsafe string Ctor (sbyte *value, int startIndex, int length, Encoding enc)
 
static string Ctor (char c, int count)
 
static string Ctor (ReadOnlySpan< char > value)
 
static unsafe void memset (byte *dest, int val, int len)
 
static unsafe void memcpy (byte *dest, byte *src, int size)
 

Private Attributes

int _stringLength
 
char _firstChar
 

Static Private Attributes

const int StackallocIntBufferSizeLimit = 128
 
const int PROBABILISTICMAP_BLOCK_INDEX_MASK = 7
 
const int PROBABILISTICMAP_BLOCK_INDEX_SHIFT = 3
 
const int PROBABILISTICMAP_SIZE = 8
 

Detailed Description

Definition at line 16 of file String.cs.


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