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

◆ ToString()

override string System.UriBuilder.ToString ( )
inline

Definition at line 150 of file UriBuilder.cs.

151 {
152 if (this._username._stringLength == 0)
153 {
154 int stringLength = this._password._stringLength;
155 }
156 string scheme = this._scheme;
157 string text;
158 if (scheme._stringLength != 0)
159 {
160 global::System.UriParser syntax = global::System.UriParser.GetSyntax(scheme);
161 if (syntax != null)
162 {
163 global::System.UriSyntaxFlags flags = syntax.m_Flags;
164 if (this._host._stringLength != 0)
165 {
166 goto IL_005A;
167 }
168 }
169 int stringLength2 = this._host._stringLength;
170 if (stringLength2 == 0)
171 {
172 return text;
173 }
174 IL_005A:
175 if (stringLength2 == 0)
176 {
177 }
178 }
179 string scheme2 = this._scheme;
180 if (scheme2._stringLength != 0)
181 {
182 string schemeDelimiter = this._schemeDelimiter;
183 return scheme2 + schemeDelimiter;
184 }
185 string username = this._username;
186 if (username == null || username != null)
187 {
188 string password = this._password;
189 int stringLength3 = password._stringLength;
190 string text2 = ":" + password;
191 if (text2 == null)
192 {
193 return text2;
194 }
195 int stringLength4 = this._username._stringLength;
196 string host = this._host;
197 if (host == null || host != null)
198 {
199 int port = this._port;
200 int stringLength5 = this._host._stringLength;
201 string text4;
202 string text3 = ":" + text4;
203 if (text3 == null)
204 {
205 return text3;
206 }
207 int stringLength6 = this._host._stringLength;
208 string path = this._path;
209 if (path._stringLength != 0)
210 {
211 long num = 0L;
212 char c = path[(int)num];
213 }
214 string path2 = this._path;
215 if (path2 == null || path2 != null)
216 {
217 string query = this._query;
218 if (query == null || query != null)
219 {
220 string fragment = this._fragment;
221 if (fragment == null || fragment != null)
222 {
223 return text;
224 }
225 }
226 }
227 }
228 }
229 throw new ArrayTypeMismatchException();
230 }
class f__AnonymousType0<< Count > j__TPar
string _schemeDelimiter

References System.UriBuilder._fragment, System.UriBuilder._host, System.UriBuilder._password, System.UriBuilder._path, System.UriBuilder._port, System.UriBuilder._query, System.UriBuilder._scheme, System.UriBuilder._schemeDelimiter, System.UriBuilder._username, j__TPar, System.L, and System.text.