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

◆ CookieCutter()

CookieCollection System.Net.CookieContainer.CookieCutter ( global::System::Uri uri,
string headerName,
string setCookieHeader,
bool isThrow )
inlinepackage

Definition at line 296 of file CookieContainer.cs.

297 {
298 int num = 1;
299 if (headerName != null)
300 {
301 if (num == 0)
302 {
303 }
304 int num2;
305 if (num2 == 0)
306 {
307 }
308 }
309 string host = uri.Host;
310 bool flag = this.IsLocalDomain(host);
311 Cookie cookie;
312 if (cookie != null)
313 {
314 bool flag2 = ValidationHelper.IsBlankString(cookie.m_name);
315 string fqdnMyDomain = this.m_fqdnMyDomain;
316 string @string = SR.GetString("Cookie format error.");
317 throw new OutOfMemoryException();
318 }
319 IEnumerator enumerator;
320 if (enumerator != null)
321 {
322 }
323 long num3 = 0L;
324 if (enumerator != null)
325 {
326 }
327 if (num3 == 0L)
328 {
329 throw new InvalidCastException();
330 }
331 throw new OutOfMemoryException();
332 }
class f__AnonymousType0<< Count > j__TPar
static string GetString(string name, params object[] args)
Definition SR.cs:9
Definition SR.cs:7
bool IsLocalDomain(string host)

References SR.GetString(), System.Net.ValidationHelper.IsBlankString(), System.Net.CookieContainer.IsLocalDomain(), j__TPar, System.L, and System.Net.CookieContainer.m_fqdnMyDomain.