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

◆ GetCharText()

string System.Xml.ValueHandle.GetCharText ( )
inlineprivate

Definition at line 791 of file ValueHandle.cs.

792 {
793 int @char = GetChar();
794 if (@char > 65535)
795 {
797 Span<char> span = stackalloc char[2] { surrogateChar.HighChar, surrogateChar.LowChar };
798 return new string(span);
799 }
800 return ((char)@char).ToString();
801 }

References System.Xml.Dictionary, and System.Xml.ValueHandle.GetChar().

Referenced by System.Xml.ValueHandle.GetString().