terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
System.String Class Referencesealed
+ Inheritance diagram for System.String:
+ Collaboration 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, global::System.StringComparison comparisonType)
 
bool EndsWith (char value)
 
override bool Equals (object obj)
 
bool Equals (string value)
 
bool Equals (string value, global::System.StringComparison comparisonType)
 
override int GetHashCode ()
 
bool StartsWith (string value)
 
bool StartsWith (string value, global::System.StringComparison comparisonType)
 
unsafe string Insert (int startIndex, string value)
 
unsafe string PadRight (int totalWidth, char paddingChar)
 
unsafe string Remove (int startIndex, int count)
 
string Remove (int startIndex)
 
unsafe string Replace (char oldChar, char newChar)
 
string Replace (string oldValue, string newValue)
 
string[] Split (char separator, global::System.StringSplitOptions options=global::System.StringSplitOptions.None)
 
string[] Split (params char[] separator)
 
string[] Split (char[] separator, int count)
 
string[] Split (char[] separator, global::System.StringSplitOptions options)
 
string[] Split (string[] separator, global::System.StringSplitOptions options)
 
string Substring (int startIndex)
 
unsafe string Substring (int startIndex, int length)
 
string ToLower ()
 
string ToLower (global::System.Globalization.CultureInfo culture)
 
string ToLowerInvariant ()
 
string ToUpper ()
 
string ToUpper (global::System.Globalization.CultureInfo culture)
 
string ToUpperInvariant ()
 
string Trim ()
 
unsafe string Trim (char trimChar)
 
unsafe string Trim (params char[] trimChars)
 
unsafe string TrimStart (params char[] trimChars)
 
string TrimEnd ()
 
unsafe 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, global::System.StringComparison comparisonType)
 
int IndexOf (string value, int startIndex, global::System.StringComparison comparisonType)
 
int IndexOf (string value, int startIndex, int count, global::System.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, global::System.StringComparison comparisonType)
 
int LastIndexOf (string value, int startIndex, int count, global::System.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, global::System.Text.Encoding enc)
 
 String (char c, int count)
 
 String (global::System.ReadOnlySpan< char > value)
 
object Clone ()
 
unsafe void CopyTo (int sourceIndex, char[] destination, int destinationIndex, int count)
 
unsafe char[] ToCharArray ()
 
override string ToString ()
 
string ToString (global::System.IFormatProvider provider)
 
global::System.TypeCode GetTypeCode ()
 
string Normalize (global::System.Text.NormalizationForm normalizationForm)
 

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, global::System.StringComparison comparisonType)
 
static int Compare (string strA, string strB, global::System.Globalization.CultureInfo culture, global::System.Globalization.CompareOptions options)
 
static int Compare (string strA, string strB, bool ignoreCase, global::System.Globalization.CultureInfo culture)
 
static int Compare (string strA, int indexA, string strB, int indexB, int length, global::System.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, global::System.StringComparison comparisonType)
 
static unsafe bool operator== (string a, string b)
 
static unsafe 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 unsafe 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 (global::System.IFormatProvider provider, string format, object arg0)
 
static string Format (global::System.IFormatProvider provider, string format, object arg0, object arg1)
 
static string Format (global::System.IFormatProvider provider, string format, object arg0, object arg1, object arg2)
 
static string Format (global::System.IFormatProvider provider, string format, params object[] args)
 
static string Join (string separator, params string[] value)
 
static string Join (string separator, global::System.Collections.Generic.IEnumerable< string > values)
 
static unsafe string Join (string separator, string[] value, int startIndex, int count)
 
static string Create< TState > (int length, TState state, global::System.Buffers.SpanAction< char, TState > action)
 
static implicit operator global::System.ReadOnlySpan< char > (string value)
 
static unsafe 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 ()
 
ref 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 string FastAllocateString (int length)
 

Static Package Functions

static int CompareOrdinal (global::System.ReadOnlySpan< char > strA, global::System.ReadOnlySpan< char > strB)
 
static void CheckStringComparison (global::System.StringComparison comparisonType)
 
static unsafe string CreateStringFromEncoding (byte *bytes, int byteLength, global::System.Text.Encoding encoding)
 
static string CreateFromChar (char c)
 
static unsafe void wstrcpy (char *dmem, char *smem, int charCount)
 
static unsafe int wcslen (char *ptr)
 
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, set]
 
unsafe char this[int index] [get, set]
 

Private Types

enum  TrimType { Head , Tail , Both }
 

Private Member Functions

string ReplaceHelper (int oldValueLength, string newValue, global::System.ReadOnlySpan< int > indices)
 
string[] SplitInternal (global::System.ReadOnlySpan< char > separators, int count, global::System.StringSplitOptions options)
 
string[] SplitInternal (string separator, string[] separators, int count, global::System.StringSplitOptions options)
 
string[] SplitInternal (string separator, int count, global::System.StringSplitOptions options)
 
string[] SplitKeepEmptyEntries (global::System.ReadOnlySpan< int > sepList, global::System.ReadOnlySpan< int > lengthList, int defaultLength, int count)
 
string[] SplitOmitEmptyEntries (global::System.ReadOnlySpan< int > sepList, global::System.ReadOnlySpan< int > lengthList, int defaultLength, int count)
 
unsafe void MakeSeparatorList (global::System.ReadOnlySpan< char > separators, ref global::System.Collections.Generic.ValueListBuilder< int > sepListBuilder)
 
void MakeSeparatorList (string separator, ref global::System.Collections.Generic.ValueListBuilder< int > sepListBuilder)
 
void MakeSeparatorList (string[] separators, ref global::System.Collections.Generic.ValueListBuilder< int > sepListBuilder, ref global::System.Collections.Generic.ValueListBuilder< int > lengthListBuilder)
 
unsafe string InternalSubString (int startIndex, int length)
 
string TrimWhiteSpaceHelper (string.TrimType trimType)
 
unsafe string TrimHelper (char *trimChars, int trimCharsLength, string.TrimType trimType)
 
unsafe 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)
 
unsafe int IndexOfCharArray (char[] anyOf, int startIndex, int count)
 
unsafe int LastIndexOfCharArray (char[] anyOf, int startIndex, int count)
 
global::System.Collections.Generic.IEnumerator< char > System.Collections.Generic.IEnumerable< System.Char >. GetEnumerator ()
 
global::System.Collections.IEnumerator System.Collections.IEnumerable. GetEnumerator ()
 
bool System.IConvertible. ToBoolean (global::System.IFormatProvider provider)
 
char System.IConvertible. ToChar (global::System.IFormatProvider provider)
 
sbyte System.IConvertible. ToSByte (global::System.IFormatProvider provider)
 
byte System.IConvertible. ToByte (global::System.IFormatProvider provider)
 
short System.IConvertible. ToInt16 (global::System.IFormatProvider provider)
 
ushort System.IConvertible. ToUInt16 (global::System.IFormatProvider provider)
 
int System.IConvertible. ToInt32 (global::System.IFormatProvider provider)
 
uint System.IConvertible. ToUInt32 (global::System.IFormatProvider provider)
 
long System.IConvertible. ToInt64 (global::System.IFormatProvider provider)
 
ulong System.IConvertible. ToUInt64 (global::System.IFormatProvider provider)
 
float System.IConvertible. ToSingle (global::System.IFormatProvider provider)
 
double System.IConvertible. ToDouble (global::System.IFormatProvider provider)
 
decimal System.IConvertible. ToDecimal (global::System.IFormatProvider provider)
 
global::System.DateTime System.IConvertible. ToDateTime (global::System.IFormatProvider provider)
 
object System.IConvertible. ToType (global::System.Type type, global::System.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, global::System.Text.Encoding enc)
 
string CreateString (global::System.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 unsafe void FillStringChecked (string dest, int destPos, string src)
 
static string FormatHelper (global::System.IFormatProvider provider, string format, global::System.ParamsArray args)
 
static unsafe string JoinCore (char *separator, int separatorLength, string[] value, int startIndex, int count)
 
static unsafe void InitializeProbabilisticMap (uint *charMap, global::System.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 unsafe string Ctor (char[] value)
 
static unsafe 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, global::System.Text.Encoding enc)
 
static string Ctor (char c, int count)
 
static unsafe string Ctor (global::System.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 48 of file String.cs.


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