terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ InternalIsWellFormedOriginalString()

bool System.Uri.InternalIsWellFormedOriginalString ( )
inlinepackage

Definition at line 2187 of file Uri.cs.

2188 {
2189 if (this.m_String != null)
2190 {
2192 }
2193 if (this.m_Syntax != null)
2194 {
2195 global::System.Uri.Flags flags = this.m_Flags;
2196 this.ParseRemaining();
2197 global::System.Uri.Flags flags2 = this.m_Flags;
2198 if (!this.m_iriParsing)
2199 {
2200 goto IL_017A;
2201 }
2202 global::System.Uri.UriInfo info = this.m_Info;
2203 ushort query = info.Offset.Query;
2204 ushort path = info.Offset.Path;
2205 global::System.Uri.UriInfo info2 = this.m_Info;
2206 string @string = this.m_String;
2207 ushort path2 = info2.Offset.Path;
2208 ushort securedPathIndex = this.SecuredPathIndex;
2209 global::System.Uri.Flags flags3 = this.m_Flags;
2210 global::System.Uri.UriInfo info3 = this.m_Info;
2211 ushort user = info3.Offset.User;
2212 ushort path3 = info3.Offset.Path;
2213 if (!this.m_iriParsing)
2214 {
2215 goto IL_017D;
2216 }
2217 global::System.Uri.Flags flags4 = this.m_Flags;
2218 int stringLength = this.m_Syntax.m_Scheme._stringLength;
2219 int stringLength2 = this.m_String._stringLength;
2220 }
2221 bool shouldUseLegacyV2Quirks = global::System.UriParser.ShouldUseLegacyV2Quirks;
2222 bool flag = global::System.Uri.CheckForColonInFirstPathSegment(this.m_String);
2223 int stringLength3 = this.m_String._stringLength;
2224 global::System.UriParser syntax = this.m_Syntax;
2225 global::System.Uri.UriInfo info4 = this.m_Info;
2226 string scheme = syntax.m_Scheme;
2227 global::System.Uri.Offset offset = info4.Offset;
2228 int stringLength4 = scheme._stringLength;
2229 ushort user2 = info4.Offset.User;
2230 string string2 = this.m_String;
2231 string string3 = this.m_String;
2232 IL_017A:
2233 IL_017D:
2234 global::System.Uri.Flags flags5 = this.m_Flags;
2235 ushort user3 = this.m_Info.Offset.User;
2236 string string4 = this.m_String;
2237 string string5 = this.m_String;
2238 global::System.Uri.Flags flags6 = this.m_Flags;
2239 Type type = base.GetType();
2240 throw new ArrayTypeMismatchException();
2241 }
class f__AnonymousType0<< Count > j__TPar
new Type GetType()
Definition Type.cs:287
Uri(string uriString)
Definition Uri.cs:279
global::System.UriParser m_Syntax
Definition Uri.cs:2521
ushort SecuredPathIndex
Definition Uri.cs:185
bool m_iriParsing
Definition Uri.cs:2533
global::System.Uri.UriInfo m_Info
Definition Uri.cs:2530
global::System.Uri.Flags m_Flags
Definition Uri.cs:2527
string m_String
Definition Uri.cs:2515
void ParseRemaining()
Definition Uri.cs:1673
ushort User
Definition Uri.cs:2713
ushort Query
Definition Uri.cs:2725

References System.Uri.Uri(), System.Type.GetType(), System.info, j__TPar, System.Uri.m_Flags, System.Uri.m_Info, System.Uri.m_iriParsing, System.UriParser.m_Scheme, System.Uri.m_String, System.Uri.m_Syntax, System.offset, System.Runtime.CompilerServices.RuntimeHelpers.OffsetToStringData, System.Uri.ParseRemaining(), System.Uri.Offset.Query, System.Uri.SecuredPathIndex, and System.Uri.Offset.User.

Referenced by System.Uri.IsWellFormedOriginalString().