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

◆ UnicodeRange()

System.Text.Unicode.UnicodeRange.UnicodeRange ( int firstCodePoint,
int length )
inline

Definition at line 9 of file UnicodeRange.cs.

10 {
11 if (firstCodePoint < 0 || firstCodePoint > 65535)
12 {
13 throw new ArgumentOutOfRangeException("firstCodePoint");
14 }
15 if (length < 0 || (long)firstCodePoint + (long)length > 65536)
16 {
17 throw new ArgumentOutOfRangeException("length");
18 }
19 FirstCodePoint = firstCodePoint;
20 Length = length;
21 }

References System.Text.Unicode.UnicodeRange.FirstCodePoint, System.length, and System.Text.Unicode.UnicodeRange.Length.

Referenced by System.Text.Unicode.UnicodeRange.Create().