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

◆ InitializeAndValidate()

virtual void System.UriParser.InitializeAndValidate ( Uri uri,
out UriFormatException? parsingError )
inlineprotectedvirtualinherited

Definition at line 103 of file UriParser.cs.

104 {
105 if (uri._syntax == null)
106 {
108 }
109 if (uri._syntax != this)
110 {
112 }
113 ulong num = Interlocked.Or(ref Unsafe.As<Uri.Flags, ulong>(ref uri._flags), 4611686018427387904uL);
114 if ((num & 0x4000000000000000L) != 0L)
115 {
117 }
118 parsingError = uri.ParseMinimal();
119 }
static string net_uri_InitializeCalledAlreadyOrTooLate
Definition SR.cs:62
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string net_uri_NotAbsolute
Definition SR.cs:16
static string net_uri_UserDrivenParsing
Definition SR.cs:50
Definition SR.cs:7
static int Or(ref int location1, int value)

References System.Uri._flags, System.Uri._syntax, System.SR.Format(), System.L, System.SR.net_uri_InitializeCalledAlreadyOrTooLate, System.SR.net_uri_NotAbsolute, System.SR.net_uri_UserDrivenParsing, System.Threading.Interlocked.Or(), and System.Uri.ParseMinimal().

Referenced by System.UriParser.InternalValidate().