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

◆ Union()

override IPermission System.Net.WebPermission.Union ( IPermission target)
inlinevirtual

Reimplemented from System.Security.CodeAccessPermission.

Definition at line 304 of file WebPermission.cs.

305 {
306 if (target == null || this.m_noRestriction)
307 {
308 }
310 if (unrestrictedConnect || unrestrictedConnect)
311 {
312 int num = 1;
315 if (!unrestrictedAccept && !unrestrictedAccept)
316 {
317 goto IL_0045;
318 }
319 int num2 = 1;
321 }
322 if (this == null)
323 {
325 if (this.m_connectList != null)
326 {
327 }
328 if (this.m_connectList != null)
329 {
330 }
331 long num3 = 0L;
333 if (num3 == 0L || connectList2 != null)
334 {
335 }
336 if (connectList2 != null)
337 {
338 }
340 goto IL_008F;
341 }
342 this.m_connectList = this;
343 IL_0045:
344 if (this != null)
345 {
346 this.m_acceptList = this;
347 throw new InvalidCastException();
348 }
349 IL_008F:
351 if (this.m_acceptList != null)
352 {
353 }
354 if (this.m_acceptList != null)
355 {
356 }
357 long num4 = 0L;
359 if (num4 == 0L || acceptList2 != null)
360 {
361 }
362 if (acceptList2 != null)
363 {
364 }
366 string @string = SR.GetString("Cannot cast target permission type.");
367 throw new InvalidCastException();
368 }
class f__AnonymousType0<< Count > j__TPar
static string GetString(string name, params object[] args)
Definition SR.cs:9
Definition SR.cs:7

References SR.GetString(), j__TPar, System.L, System.Net.WebPermission.m_acceptList, System.Net.WebPermission.m_connectList, System.Net.WebPermission.m_noRestriction, System.Net.WebPermission.m_UnrestrictedAccept, and System.Net.WebPermission.m_UnrestrictedConnect.