123 object obj = MemberwiseClone();
337 string text =
string.FastAllocateString(
source.Length);
349 if (((uint)
source.Length & (
true ? 1
u : 0
u)) != 0)
356 if (flag ? (
num3 - 97 <= 25) : (
num3 - 65 <= 25))
363 string text2 =
string.FastAllocateString(
source.Length);
380 for (i = 0; i <
s.Length && (uint)(
ptr[i] - 65) > 25
u; i++)
387 string text =
string.FastAllocateString(
s.Length);
390 for (
int j = 0;
j < i;
j++)
395 for (i++; i <
s.Length; i++)
409 c = (char)(
byte)(c | 0x20
u);
458 c = (char)(c & 0
x5Fu);
503 for (num = 0; num <
str.Length; num++)
508 if (flag && num <
str.Length - 1 && (
str[num] ==
'i' ||
str[num] ==
'I') && (
str[num + 1] ==
'j' ||
str[num + 1] ==
'J'))
519 while (num <
str.Length)
530 else if (
str[num] ==
'\'')
573 if (num <
str.Length)
665 return (0
x1FFCF800 & (1 << (
int)category)) != 0;
static unsafe void ChangeCaseInvariant(char *src, int srcLen, char *dstBuffer, int dstBufferCapacity, bool bToUpper)
static unsafe void ChangeCaseTurkish(char *src, int srcLen, char *dstBuffer, int dstBufferCapacity, bool bToUpper)
static unsafe void ChangeCase(char *src, int srcLen, char *dstBuffer, int dstBufferCapacity, bool bToUpper)
static unsafe int LCMapStringEx(string lpLocaleName, uint dwMapFlags, char *lpSrcStr, int cchSrc, void *lpDestStr, int cchDest, void *lpVersionInformation, void *lpReserved, IntPtr sortHandle)
static UnicodeCategory GetUnicodeCategoryInternal(string value, int index)
static unsafe IntPtr NlsGetSortHandle(string cultureName)
static CultureData Invariant
static CultureInfo GetCultureInfo(int culture)
static char ToLower(char c)
static char ToUpper(char c)
static void ToUpper(char h, char l, out char hr, out char lr)
static bool NeedsTurkishCasing(string localeName)
void ChangeCaseToLower(ReadOnlySpan< char > source, Span< char > destination)
int AddTitlecaseLetter(ref StringBuilder result, ref string input, int inputIndex, int charLen)
static bool IsInvariantLocale(string localeName)
TextInfo(CultureData cultureData)
readonly CultureData _cultureData
static bool IsWordSeparator(UnicodeCategory category)
unsafe void IcuChangeCase(char *src, int srcLen, char *dstBuffer, int dstBufferCapacity, bool bToUpper)
override bool Equals([NotNullWhen(true)] object? obj)
void SetReadOnlyState(bool readOnly)
void ChangeCaseToUpper(ReadOnlySpan< char > source, Span< char > destination)
string ToUpper(string str)
string ToTitleCase(string str)
static bool IsLetterCategory(UnicodeCategory uc)
Tristate _isAsciiCasingSameAsInvariant
unsafe char ChangeCase(char c, bool toUpper)
override int GetHashCode()
static char ToLowerInvariant(char c)
Tristate _needsTurkishCasing
static TextInfo ReadOnly(TextInfo textInfo)
unsafe void ChangeCaseCore(char *src, int srcLen, char *dstBuffer, int dstBufferCapacity, bool bToUpper)
void PopulateIsAsciiCasingSameAsInvariant()
void ChangeCaseCommon< TConversion >(ReadOnlySpan< char > source, Span< char > destination)
static unsafe string ToLowerAsciiInvariant(string s)
readonly string _cultureName
unsafe void NlsChangeCase(char *pSource, int pSourceLen, char *pResult, int pResultLen, bool toUpper)
readonly string _textInfoName
static readonly TextInfo Invariant
static int AddNonLetter(ref StringBuilder result, ref string input, int inputIndex, int charLen)
override string ToString()
static char ToUpperInvariant(char c)
static char ToUpperAsciiInvariant(char c)
static char ToLowerAsciiInvariant(char c)
bool IsAsciiCasingSameAsInvariant
TextInfo(CultureData cultureData, bool readOnly)
string ToLower(string str)
static string InvalidOperation_ReadOnly
override string ToString()
StringBuilder Append(char value, int repeatCount)
static bool IsInRangeInclusive(uint value, uint lowerBound, uint upperBound)
static bool IsAsciiCodePoint(uint value)
static uint ConvertAllAsciiCharsInUInt32ToLowercase(uint value)
static bool AllCharsInUInt32AreAscii(uint value)
static uint ConvertAllAsciiCharsInUInt32ToUppercase(uint value)
static bool UInt32ContainsAnyUppercaseAsciiChar(uint value)
static bool UInt32ContainsAnyLowercaseAsciiChar(uint value)
void OnDeserialization(object? sender)
static readonly IntPtr Zero