314 if (
"QuickBuff" ==
null)
317 if (
"QuickBuff" ==
null)
333 while (prefix ==
null ||
source ==
null)
336 if (prefix._stringLength == 0 ||
source._stringLength != 0)
356 while (suffix ==
null ||
source ==
null)
359 if (suffix._stringLength == 0 ||
source._stringLength != 0)
389 if (
source._stringLength != 0)
425 if (
source._stringLength == 0)
430 if (
value._stringLength == 0)
581 if (simpleCollator ==
null)
603 if (num != 0
L ||
num2 == 0)
class f__AnonymousType0<< Count > j__TPar
static int CompareOrdinalIgnoreCase(string strA, int indexA, int lengthA, string strB, int indexB, int lengthB)
bool StartsWith(string source, string prefix, CompareOptions options)
int CompareString(ReadOnlySpan< char > string1, ReadOnlySpan< char > string2, CompareOptions options)
static readonly CompareInfo Invariant
void OnSerializing(StreamingContext ctx)
static unsafe int InvariantFindString(char *source, int sourceCount, char *value, int valueCount, bool ignoreCase, bool start)
virtual int Compare(string string1, int offset1, int length1, string string2, int offset2, int length2, CompareOptions options)
static int GetIgnoreCaseHash(string source)
const CompareOptions ValidIndexMaskOffFlags
int GetHashCodeOfString(string source, CompareOptions options)
int IndexOfOrdinal(string source, string value, int startIndex, int count, bool ignoreCase)
virtual bool IsPrefix(string source, string prefix, CompareOptions options)
static int InvariantIndexOf(string source, string value, int startIndex, int count, bool ignoreCase)
static int IndexOfOrdinalCore(string source, string value, int startIndex, int count, bool ignoreCase)
override string ToString()
static char InvariantToUpper(char c)
ISimpleCollator GetCollator()
virtual SortKey GetSortKey(string source, CompareOptions options)
void OnDeserialized(StreamingContext ctx)
override bool Equals(object value)
static CompareInfo GetCompareInfo(string name)
int CompareString(ReadOnlySpan< char > string1, string string2, CompareOptions options)
SortVersion m_SortVersion
SortKey InvariantCreateSortKey(string source, CompareOptions options)
virtual int Compare(string string1, string string2)
void OnDeserializing(StreamingContext ctx)
static unsafe int CompareStringOrdinalIgnoreCase(char *pString1, int length1, char *pString2, int length2)
static Dictionary< string, ISimpleCollator > collators
virtual int GetHashCode(string source, CompareOptions options)
virtual int Compare(string string1, int offset1, string string2, int offset2, CompareOptions options)
int internal_compare_managed(string str1, int offset1, int length1, string str2, int offset2, int length2, CompareOptions options)
int internal_index_managed(string s1, int sindex, int count, string s2, CompareOptions opt, bool first)
SortKey CreateSortKeyCore(string source, CompareOptions options)
static int internal_compare(string str1, int offset1, int length1, string str2, int offset2, int length2, CompareOptions options)
const CompareOptions ValidCompareMaskOffFlags
virtual int IndexOf(string source, string value, int startIndex, int count, CompareOptions options)
static int InvariantLastIndexOf(string source, string value, int startIndex, int count, bool ignoreCase)
const CompareOptions ValidSortkeyCtorMaskOffFlags
static unsafe int internal_index_icall(char *source, int sindex, int count, char *value, int value_length, bool first)
static int internal_index(string source, int sindex, int count, string value, bool first)
bool EndsWith(string source, string suffix, CompareOptions options)
static bool managedCollation
int internal_compare_switch(string str1, int offset1, int length1, string str2, int offset2, int length2, CompareOptions options)
int CompareOptionIgnoreCase(ReadOnlySpan< char > string1, ReadOnlySpan< char > string2)
static int CompareOrdinalIgnoreCase(ReadOnlySpan< char > strA, ReadOnlySpan< char > strB)
virtual int LastIndexOf(string source, string value, int startIndex, int count, CompareOptions options)
bool EndsWith(ReadOnlySpan< char > source, ReadOnlySpan< char > suffix, CompareOptions options)
int LastIndexOfOrdinal(string source, string value, int startIndex, int count, bool ignoreCase)
virtual int Compare(string string1, string string2, CompareOptions options)
int GetHashCodeOfStringCore(string source, CompareOptions options)
static unsafe int internal_compare_icall(char *str1, int length1, char *str2, int length2, CompareOptions options)
static bool managedCollationChecked
static bool UseManagedCollation
void InitSort(CultureInfo culture)
const CompareOptions ValidHashCodeOfStringMaskOffFlags
override int GetHashCode()
CompareInfo(CultureInfo culture)
int LastIndexOfCore(string source, string target, int startIndex, int count, CompareOptions options)
static int LastIndexOfOrdinalCore(string source, string value, int startIndex, int count, bool ignoreCase)
SortKey CreateSortKey(string source, CompareOptions options)
int Compare(ReadOnlySpan< char > string1, string string2, CompareOptions options)
unsafe int IndexOfCore(string source, string target, int startIndex, int count, CompareOptions options, int *matchLengthPtr)
virtual bool IsSuffix(string source, string suffix, CompareOptions options)
int internal_index_switch(string s1, int sindex, int count, string s2, CompareOptions opt, bool first)
bool IsSuffix(ReadOnlySpan< char > source, ReadOnlySpan< char > suffix, CompareOptions options)
static CultureInfo InvariantCulture
static CultureInfo GetCultureInfo(int culture)
static int OffsetToStringData
static void ThrowArgumentOutOfRangeException()
void OnDeserialization(object sender)