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

◆ GetLocalPath()

string System.Uri.GetLocalPath ( )
inlineprivate

Definition at line 906 of file Uri.cs.

907 {
908 int num;
909 do
910 {
911 global::System.Uri.Flags flags = this.m_Flags;
912 this.ParseRemaining();
913 global::System.Uri.UriInfo info = this.m_Info;
914 ushort host = info.Offset.Host;
915 ushort path = info.Offset.Path;
916 bool isFile = this.IsFile;
918 num = 24;
919 bool isLoopback = this.IsLoopback;
920 global::System.Uri.UriInfo info2 = this.m_Info;
921 ushort host2 = info2.Offset.Host;
922 ushort path2 = info2.Offset.Path;
924 ushort path3 = this.m_Info.Offset.Path;
925 long num2 = 0L;
926 global::System.Uri.Flags flags2 = this.m_Flags;
927 if (path3 == 0)
928 {
929 }
930 }
931 while (num != 0);
932 global::System.Uri.Flags flags3 = this.m_Flags;
933 if (false)
934 {
935 long num3 = 0L;
936 this.EnsureHostString(num3 != 0L);
937 global::System.Uri.Flags flags4 = this.m_Flags;
938 if (8212 == 0)
939 {
940 global::System.Uri.UriInfo info3 = this.m_Info;
941 ushort path4 = info3.Offset.Path;
942 }
943 else
944 {
945 global::System.Uri.UriInfo info4 = this.m_Info;
946 string host3 = info4.Host;
947 ushort path5 = info4.Offset.Path;
948 int stringLength = host3._stringLength;
949 ushort fragment = info4.Offset.Fragment;
950 long num2;
951 global::System.Uri.UriInfo info3;
952 ushort end;
953 if (num2 != 0L)
954 {
955 int num4 = 2;
956 int stringLength2 = host3._stringLength;
957 global::System.UriParser syntax = this.m_Syntax;
958 if (num4 == 0)
959 {
960 }
961 ushort host4 = info3.Offset.Host;
962 ushort host5 = info3.Offset.Host;
963 ushort query = info3.Offset.Query;
964 end = info3.Offset.End;
965 string @string = this.m_String;
966 string string2 = this.m_String;
967 string string3 = this.m_String;
968 global::System.Uri.UriInfo info5 = this.m_Info;
969 string string4 = this.m_String;
970 ushort query2 = info5.Offset.Query;
971 return string4;
972 }
973 char c = this.m_String[(int)path5];
974 char c2 = this.m_String[(int)path5];
975 global::System.Uri.Flags flags5 = this.m_Flags;
976 global::System.Uri.UriInfo info6 = this.m_Info;
977 string string5 = this.m_String;
978 global::System.UriParser syntax2 = this.m_Syntax;
979 ushort query3 = info6.Offset.Query;
980 if (info6 == null)
981 {
982 }
983 global::System.Uri.Flags flags6 = this.m_Flags;
984 global::System.UriParser syntax3 = this.m_Syntax;
985 if (info3 == null)
986 {
987 }
988 int num5 = 92;
989 end.m_value = (ushort)num5;
990 string text;
991 return text;
992 }
993 }
994 string text2;
995 return text2;
996 }
class f__AnonymousType0<< Count > j__TPar
global::System.UriSyntaxFlags Flags
Definition UriParser.cs:119
Uri(string uriString)
Definition Uri.cs:279
string Host
Definition Uri.cs:811
bool IsFile
Definition Uri.cs:669
bool OriginalStringSwitched
Definition Uri.cs:1125
global::System.UriParser m_Syntax
Definition Uri.cs:2521
bool IsLoopback
Definition Uri.cs:697
global::System.Uri.UriInfo m_Info
Definition Uri.cs:2530
global::System.Uri.Flags m_Flags
Definition Uri.cs:2527
void EnsureHostString(bool allowDnsOptimization)
Definition Uri.cs:267
string m_String
Definition Uri.cs:2515
void ParseRemaining()
Definition Uri.cs:1673
ushort Path
Definition Uri.cs:2722
ushort Host
Definition Uri.cs:2716

References System.Uri.Uri(), System.Uri.EnsureHostString(), System.UriParser.Flags, System.Uri.Host, System.Uri.Offset.Host, System.info, System.Uri.IsFile, System.Uri.IsLoopback, j__TPar, System.L, System.Uri.m_Flags, System.Uri.m_Info, System.Uri.m_String, System.Uri.m_Syntax, System.Uri.OriginalStringSwitched, System.Uri.ParseRemaining(), System.Uri.Offset.Path, and System.text.