276 public static bool Equals(
string a,
string b)
350 while (value ==
null)
360 while (
value ==
null)
449 if (
str0 ==
null ||
str0._stringLength == 0)
454 if (
str1 !=
null &&
str1._stringLength != 0)
466 if (
str0 ==
null ||
str0._stringLength == 0)
471 if (
str1 ==
null ||
str1._stringLength == 0)
475 if (
str2 !=
null &&
str2._stringLength != 0)
570 while (provider ==
null)
582 while (
value ==
null)
595 while (separator ==
null)
635 return "StartIndex cannot be less than zero.";
669 return "StartIndex cannot be less than zero.";
705 public string Replace(
string oldValue,
string newValue)
707 while (oldValue ==
null || oldValue._stringLength == 0)
710 if (newValue ==
null)
719 if (oldValue._stringLength != 0)
803 if (separators !=
null)
813 if (
this ==
null ||
this !=
null)
829 if (
this ==
null ||
this !=
null)
841 if (text ==
null ||
text !=
null)
853 if (text ==
null ||
text !=
null)
874 sepListBuilder.
Grow();
901 return "StartIndex cannot be less than zero.";
1247 return "Index was out of range. Must be non-negative and less than the size of the collection.";
1323 while (
value ==
null)
1377 while (
anyOf ==
null)
1417 while (
value ==
null);
1420 if (
value._stringLength == 0)
1453 return "StartIndex cannot be less than zero.";
1469 return "Length cannot be less than zero.";
1622 public static string Copy(
string str)
1997 dest->m_value = (byte)num;
2011 string.memset(
dest, (
int)num, len);
2075 return string.Ctor(val);
2081 return string.Ctor(c,
count);
2093 return string.Ctor(
value);
class f__AnonymousType0<< Count > j__TPar
static unsafe void Memcpy(byte *pDest, int destIndex, byte[] src, int srcIndex, int len)
static uint ToUInt32(object value)
static short ToInt16(object value, IFormatProvider provider)
static sbyte ToSByte(object value, IFormatProvider provider)
static long ToInt64(object value)
static ushort ToUInt16(object value, IFormatProvider provider)
static DateTime ToDateTime(object value, IFormatProvider provider)
static bool ToBoolean(object value, IFormatProvider provider)
static int ToInt32(object value)
static object DefaultToType(IConvertible value, Type targetType, IFormatProvider provider)
static decimal ToDecimal(object value, IFormatProvider provider)
static byte ToByte(object value, IFormatProvider provider)
static ulong ToUInt64(object value)
static char ToChar(object value, IFormatProvider provider)
static CultureInfo CurrentCulture
static CultureInfo InvariantCulture
static byte Min(byte val1, byte val2)
static int OffsetToStringData
static unsafe bool SequenceEqual(byte first, byte second, ulong length)
static unsafe int SequenceCompareTo(char first, int firstLength, char second, int secondLength)
static bool EqualsHelper(string strA, string strB)
bool Equals(string value, StringComparison comparisonType)
string ReplaceHelper(int oldValueLength, string newValue, ReadOnlySpan< int > indices)
bool EndsWith(string value)
static bool ArrayContains(char searchChar, char[] anyOf)
int IndexOfAny(char[] anyOf, int startIndex, int count)
int IndexOf(string value, int startIndex)
static string Format(string format, object arg0)
string Replace(string oldValue, string newValue)
static string Concat(string str0, string str1, string str2, string str3)
string Insert(int startIndex, string value)
static bool Equals(string a, string b)
string ToString(IFormatProvider provider)
const int PROBABILISTICMAP_BLOCK_INDEX_SHIFT
static string Join(string separator, IEnumerable< string > values)
int LastIndexOf(char value)
static string Concat(params string[] values)
String(char c, int count)
const int StackallocIntBufferSizeLimit
bool EndsWith(char value)
string ToLowerInvariant()
string[] Split(params char[] separator)
unsafe String(sbyte *value, int startIndex, int length, Encoding enc)
string ToLower(CultureInfo culture)
static unsafe void memcpy_aligned_1(byte *dest, byte *src, int size)
const int PROBABILISTICMAP_SIZE
static unsafe void SetCharBit(uint *charMap, byte value)
string Trim(params char[] trimChars)
int GetLegacyNonRandomizedHashCode()
static void CheckStringComparison(StringComparison comparisonType)
string TrimEnd(params char[] trimChars)
int IndexOf(string value, StringComparison comparisonType)
static string Join(string separator, params string[] value)
static string Create< TState >(int length, TState state, SpanAction< char, TState > action)
static unsafe void InitializeProbabilisticMap(uint *charMap, ReadOnlySpan< char > anyOf)
string Substring(int startIndex, int length)
void MakeSeparatorList(string separator, ValueListBuilder< int > sepListBuilder)
int IndexOfUnchecked(string value, int startIndex, int count)
string Normalize(NormalizationForm normalizationForm)
void CopyTo(int sourceIndex, char[] destination, int destinationIndex, int count)
int CompareTo(string strB)
string[] SplitInternal(string separator, int count, StringSplitOptions options)
const int PROBABILISTICMAP_BLOCK_INDEX_MASK
static int Compare(string strA, string strB)
static string FormatHelper(IFormatProvider provider, string format, ParamsArray args)
static unsafe void memcpy_aligned_4(byte *dest, byte *src, int size)
static unsafe void wstrcpy(char *dmem, char *smem, int charCount)
static unsafe string Ctor(char *ptr, int startIndex, int length)
static string Format(string format, params object[] args)
string InternalSubString(int startIndex, int length)
static string Concat(object arg0, object arg1, object arg2)
int IndexOf(string value, int startIndex, int count, StringComparison comparisonType)
int IndexOfCharArray(char[] anyOf, int startIndex, int count)
string Substring(int startIndex)
override int GetHashCode()
String(char[] value, int startIndex, int length)
string[] Split(char[] separator, int count)
int LastIndexOf(string value, StringComparison comparisonType)
static unsafe void memset(byte *dest, int val, int len)
string[] Split(string[] separator, StringSplitOptions options)
int IndexOf(char value, int startIndex, int count)
string[] Split(char separator, StringSplitOptions options=StringSplitOptions.None)
static int Compare(string strA, string strB, bool ignoreCase)
static string Format(string format, object arg0, object arg1, object arg2)
static int CompareOrdinal(string strA, int indexA, string strB, int indexB, int length)
string CreateString(ReadOnlySpan< char > value)
bool StartsWithOrdinalUnchecked(string value)
int IndexOfUncheckedIgnoreCase(string value, int startIndex, int count)
static int CompareOrdinal(ReadOnlySpan< char > strA, ReadOnlySpan< char > strB)
static unsafe bool IsCharBitSet(uint *charMap, byte value)
static string Format(IFormatProvider provider, string format, object arg0, object arg1)
int LastIndexOfUnchecked(string value, int startIndex, int count)
override string ToString()
static int CompareOrdinal(string strA, string strB)
int IndexOfAny(char[] anyOf)
static string Format(IFormatProvider provider, string format, params object[] args)
int CompareTo(object value)
static int Compare(string strA, string strB, CultureInfo culture, CompareOptions options)
static readonly string Empty
static unsafe void memcpy_aligned_2(byte *dest, byte *src, int size)
string CreateString(char c, int count)
static unsafe void memcpy(byte *dest, byte *src, int size)
static string Format(string format, object arg0, object arg1)
static string Concat(string str0, string str1)
static unsafe void bzero_aligned_4(byte *dest, int len)
static string Ctor(char c, int count)
string TrimStart(params char[] trimChars)
string Replace(char oldChar, char newChar)
int LastIndexOfCharArray(char[] anyOf, int startIndex, int count)
static unsafe string JoinCore(char *separator, int separatorLength, string[] value, int startIndex, int count)
static unsafe string CreateStringFromEncoding(byte *bytes, int byteLength, Encoding encoding)
unsafe string CreateString(char *value, int startIndex, int length)
int LastIndexOfUncheckedIgnoreCase(string value, int startIndex, int count)
int IndexOf(char value, int startIndex)
string ToUpperInvariant()
static string CreateFromChar(char c)
string TrimWhiteSpaceHelper(string.TrimType trimType)
string Trim(char trimChar)
void MakeSeparatorList(ReadOnlySpan< char > separators, ValueListBuilder< int > sepListBuilder)
static bool IsNullOrWhiteSpace(string value)
static string Format(IFormatProvider provider, string format, object arg0)
unsafe String(char *value, int startIndex, int length)
int IndexOfAny(char value1, char value2, int startIndex, int count)
static string Ctor(char[] value, int startIndex, int length)
int LastIndexOf(char value, int startIndex)
static string Concat(string str0, string str1, string str2)
bool StartsWith(string value, StringComparison comparisonType)
static int Compare(string strA, int indexA, string strB, int indexB, int length, StringComparison comparisonType)
static unsafe void memcpy_aligned_8(byte *dest, byte *src, int size)
int IndexOf(string value, int startIndex, StringComparison comparisonType)
static void FillStringChecked(string dest, int destPos, string src)
String(ReadOnlySpan< char > value)
static bool operator==(string a, string b)
static unsafe void bzero_aligned_1(byte *dest, int len)
static bool operator!=(string a, string b)
static int Compare(string strA, string strB, StringComparison comparisonType)
static unsafe int wcslen(char *ptr)
static string Copy(string str)
int LastIndexOf(string value)
bool Equals(string value)
unsafe string CreateString(sbyte *value, int startIndex, int length, Encoding enc)
static int CompareOrdinalHelper(string strA, string strB)
static string Format(IFormatProvider provider, string format, object arg0, object arg1, object arg2)
static unsafe void bzero_aligned_2(byte *dest, int len)
static unsafe string Ctor(sbyte *value, int startIndex, int length, Encoding enc)
static string FastAllocateString(int length)
static unsafe string Ctor(sbyte *value, int startIndex, int length)
string Remove(int startIndex, int count)
unsafe string TrimHelper(char *trimChars, int trimCharsLength, string.TrimType trimType)
int LastIndexOf(char value, int startIndex, int count)
static unsafe void bzero(byte *dest, int len)
string[] SplitKeepEmptyEntries(ReadOnlySpan< int > sepList, ReadOnlySpan< int > lengthList, int defaultLength, int count)
static string Ctor(ReadOnlySpan< char > value)
static unsafe void bzero_aligned_8(byte *dest, int len)
bool StartsWith(string value)
static string Concat(object arg0, object arg1)
static int CompareOrdinalHelper(string strA, int indexA, int countA, string strB, int indexB, int countB)
string ToUpper(CultureInfo culture)
bool EndsWith(string value, StringComparison comparisonType)
int LastIndexOfAny(char[] anyOf, int startIndex)
int LastIndexOfAny(char[] anyOf, int startIndex, int count)
static string Join(string separator, string[] value, int startIndex, int count)
string Remove(int startIndex)
unsafe string CreateString(sbyte *value, int startIndex, int length)
static int Compare(string strA, string strB, bool ignoreCase, CultureInfo culture)
string CreateString(char[] val, int startIndex, int length)
void MakeSeparatorList(string[] separators, ValueListBuilder< int > sepListBuilder, ValueListBuilder< int > lengthListBuilder)
int IndexOfAny(char[] anyOf, int startIndex)
string[] SplitInternal(ReadOnlySpan< char > separators, int count, StringSplitOptions options)
string CreateTrimmedString(int start, int end)
string[] SplitInternal(string separator, string[] separators, int count, StringSplitOptions options)
int LastIndexOfAny(char[] anyOf)
string PadRight(int totalWidth, char paddingChar)
int IndexOf(string value)
int IndexOfAny(char value1, char value2, char value3, int startIndex, int count)
static bool Equals(string a, string b, StringComparison comparisonType)
string[] SplitOmitEmptyEntries(ReadOnlySpan< int > sepList, ReadOnlySpan< int > lengthList, int defaultLength, int count)
unsafe String(sbyte *value, int startIndex, int length)
static unsafe string CreateStringForSByteConstructor(byte *pb, int numBytes)
static string Ctor(char[] value)
static bool IsNullOrEmpty(string value)
override bool Equals(object obj)
bool Contains(string value)
string[] Split(char[] separator, StringSplitOptions options)
string CreateString(char[] val)
int LastIndexOf(string value, int startIndex, int count, StringComparison comparisonType)
static string Normalize(string source, NormalizationForm normalizationForm)
static string GetStringAndRelease(StringBuilder sb)
static StringBuilder Acquire(int capacity=16)
static void ThrowIndexOutOfRangeException()
static void ThrowArgumentException(ExceptionResource resource)
IEnumerator< T > GetEnumerator()
double ToDouble(IFormatProvider provider)
DateTime ToDateTime(IFormatProvider provider)
short ToInt16(IFormatProvider provider)
int ToInt32(IFormatProvider provider)
char ToChar(IFormatProvider provider)
float ToSingle(IFormatProvider provider)
ulong ToUInt64(IFormatProvider provider)
ushort ToUInt16(IFormatProvider provider)
decimal ToDecimal(IFormatProvider provider)
bool ToBoolean(IFormatProvider provider)
object ToType(Type conversionType, IFormatProvider provider)
sbyte ToSByte(IFormatProvider provider)
uint ToUInt32(IFormatProvider provider)
byte ToByte(IFormatProvider provider)
long ToInt64(IFormatProvider provider)