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

◆ VerifySetDefaults()

bool System.Net.Cookie.VerifySetDefaults ( CookieVariant variant,
global::System::Uri uri,
bool isLocalDomain,
string localDomain,
bool set_default,
bool isThrow )
inlinepackage

Definition at line 348 of file Cookie.cs.

349 {
350 string host = uri.Host;
351 int port = uri.Port;
352 string absolutePath = uri.AbsolutePath;
353 if (this.m_version != 0)
354 {
355 }
356 int num = 1;
358 string name = this.m_name;
359 if (name != null)
360 {
361 int stringLength = name._stringLength;
362 if (stringLength != 0)
363 {
364 long num2 = 0L;
365 char c = name[(int)num2];
366 string name2 = this.m_name;
367 if (stringLength == 0)
368 {
369 }
370 }
371 }
372 string value = this.m_value;
373 if (value != null)
374 {
375 int stringLength2 = value._stringLength;
376 long num3 = 0L;
377 char c2 = value[(int)num3];
378 string value2 = this.m_value;
379 int stringLength3 = value2._stringLength;
380 char c3 = value2[(int)num3];
381 string value3 = this.m_value;
382 if (stringLength3 == 0)
383 {
384 }
385 }
386 if ("Value" != null && "Value" == null)
387 {
388 throw new ArrayTypeMismatchException();
389 }
390 string value4 = this.m_value;
391 if (value4 != null)
392 {
393 string value5 = this.m_value;
394 return "The '{0}'='{1}' part of the cookie is invalid." != null;
395 }
396 return "<null>" != null;
397 }
class f__AnonymousType0<< Count > j__TPar

References j__TPar, System.L, System.name, and System.value.