Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ToUpperInvariant()

static Rune System.Text.Rune.ToUpperInvariant ( Rune value)
inlinestatic

Definition at line 836 of file Rune.cs.

837 {
838 if (value.IsAscii)
839 {
841 }
843 {
845 }
846 return ChangeCaseCultureAware(value, TextInfo.Invariant, toUpper: true);
847 }
static char ToUpper(char codePoint)
static readonly TextInfo Invariant
Definition TextInfo.cs:42
static uint ConvertAllAsciiCharsInUInt32ToUppercase(uint value)
static Rune UnsafeCreate(uint scalarValue)
Definition Rune.cs:643
static Rune ChangeCaseCultureAware(Rune rune, TextInfo textInfo, bool toUpper)
Definition Rune.cs:141

References System.Text.Rune.ChangeCaseCultureAware(), System.Text.Unicode.Utf16Utility.ConvertAllAsciiCharsInUInt32ToUppercase(), System.Globalization.GlobalizationMode.Invariant, System.Globalization.TextInfo.Invariant, System.Globalization.CharUnicodeInfo.ToUpper(), System.Text.Rune.UnsafeCreate(), and System.value.

Referenced by System.Text.Rune.ToUpper().