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

◆ CheckIsReserved()

static bool System.IriHelper.CheckIsReserved ( char ch,
UriComponents component )
inlinestaticpackage

Definition at line 71 of file IriHelper.cs.

72 {
73 if ((UriComponents.AbsoluteUri & component) == 0)
74 {
75 if (component == (UriComponents)0)
76 {
77 return UriHelper.IsGenDelim(ch);
78 }
79 return false;
80 }
81 return ";/?:@&=+$,#[]!'()*".Contains(ch);
82 }

References System.ch, and System.UriHelper.IsGenDelim().

Referenced by System.IriHelper.EscapeUnescapeIri().