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

◆ ParseScheme()

static unsafe ParsingError System.Uri.ParseScheme ( string uriString,
ref Flags flags,
ref UriParser syntax )
inlinestaticprivate

Definition at line 1319 of file Uri.cs.

1320 {
1321 int length = uriString.Length;
1322 if (length == 0)
1323 {
1324 return ParsingError.EmptyUriString;
1325 }
1326 if (length >= 65520)
1327 {
1328 return ParsingError.SizeLimit;
1329 }
1330 fixed (char* uriString2 = uriString)
1331 {
1334 if (err != 0)
1335 {
1336 return err;
1337 }
1338 flags |= (Flags)num;
1339 }
1340 return ParsingError.None;
1341 }
static unsafe int ParseSchemeCheckImplicitFile(char *uriString, int length, ref ParsingError err, ref Flags flags, ref UriParser syntax)
Definition Uri.cs:2480

References System.Runtime.Serialization.Dictionary, System.length, and System.Uri.ParseSchemeCheckImplicitFile().

Referenced by System.Uri.CreateHelper(), and System.Uri.CreateThis().