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

◆ SecuredPathIndex

int System.Uri.SecuredPathIndex
getprivate

Definition at line 221 of file Uri.cs.

222 {
223 get
224 {
225 if (IsDosPath)
226 {
227 char c = _string[_info.Offset.Path];
228 if (c != '/' && c != '\\')
229 {
230 return 2;
231 }
232 return 3;
233 }
234 return 0;
235 }
236 }
Offset Offset
Definition Uri.cs:81
bool IsDosPath
Definition Uri.cs:205
string _string
Definition Uri.cs:189
UriInfo _info
Definition Uri.cs:197
ushort Path
Definition Uri.cs:119

Referenced by System.Uri.GetCanonicalPath(), System.Uri.GetEscapedParts(), System.Uri.GetUnescapedParts(), and System.Uri.InternalIsWellFormedOriginalString().