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

◆ ToXml()

override SecurityElement System.Net.WebPermission.ToXml ( )
inline

Implements System.Security.ISecurityEncodable.

Definition at line 429 of file WebPermission.cs.

430 {
431 Type type = base.GetType();
433 if (this.m_noRestriction)
434 {
435 }
436 if (!this.m_UnrestrictedConnect)
437 {
439 }
441 if (unrestrictedConnect)
442 {
444 {
445 }
446 string text = SecurityElement.Escape(".*");
447 if (!this.m_UnrestrictedAccept)
448 {
450 }
452 if (!unrestrictedAccept)
453 {
454 goto IL_0097;
455 }
457 {
458 }
459 string text2 = SecurityElement.Escape(".*");
460 }
461 if ("true" != null)
462 {
463 }
464 if ("true" != null)
465 {
466 }
467 string text4;
468 string text3 = global::System.Text.RegularExpressions.Regex.Escape(text4);
469 string text6;
471 IL_0097:
472 string text8;
474 long num = 0L;
475 int num2 = 15;
476 if (num2 == 0)
477 {
478 long value = num.m_value;
479 if (num != 0L)
480 {
481 throw new OutOfMemoryException();
482 }
483 while (num2 == 0)
484 {
485 }
486 }
487 throw new OutOfMemoryException();
488 }
class f__AnonymousType0<< Count > j__TPar
static string Escape(string str)
new Type GetType()
Definition Type.cs:287

References System.Security.SecurityElement.Escape(), System.Type.GetType(), j__TPar, System.L, System.Net.WebPermission.m_acceptList, System.Net.WebPermission.m_connectList, System.Net.WebPermission.m_noRestriction, System.Net.WebPermission.m_UnrestrictedAccept, System.Net.WebPermission.m_UnrestrictedConnect, System.text, and System.value.