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

◆ Rune() [1/5]

System.Text.Rune.Rune ( char ch)
inline

Definition at line 61 of file Rune.cs.

62 {
63 if (UnicodeUtility.IsSurrogateCodePoint(ch))
64 {
65 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.ch);
66 }
67 _value = ch;
68 }
readonly uint _value
Definition Rune.cs:13

References System.Text.Rune._value, System.ch, System.Text.UnicodeUtility.IsSurrogateCodePoint(), and System.ThrowHelper.ThrowArgumentOutOfRangeException().

Referenced by System.Text.Rune.operator Rune(), System.Text.Rune.operator Rune(), System.Text.Rune.operator Rune(), and System.Text.Rune.UnsafeCreate().