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

◆ GetCustomMarshalerInstance()

static ICustomMarshaler System.Runtime.InteropServices.Marshal.GetCustomMarshalerInstance ( Type type,
string cookie )
inlinestaticpackage

Definition at line 433 of file Marshal.cs.

434 {
435 int num = 1;
436 if (num == 0)
437 {
438 }
439 if (num == 0)
440 {
441 }
442 if (num == 0)
443 {
444 }
445 long num2 = 0L;
446 int num3 = 3;
447 if (num2 == 0L && num3 == 0)
448 {
449 Type type2;
450 if (type2 != null && type2 == null)
451 {
452 throw new ArrayTypeMismatchException();
453 }
455 if (methodInfo != null)
456 {
457 }
458 if (type != null && type == null)
459 {
460 throw new ArrayTypeMismatchException();
461 }
462 object obj;
463 long num4;
464 if (obj != null)
465 {
466 if (obj == null)
467 {
468 throw new InvalidCastException();
469 }
470 }
471 else
472 {
473 num4 = 0L;
474 }
475 if (obj != null)
476 {
479 if (!false)
480 {
481 }
482 throw new OutOfMemoryException();
483 }
484 if (num4 == 0L)
485 {
486 return "' returned null, which is not allowed.";
487 }
488 if (false)
489 {
490 throw new OutOfMemoryException();
491 }
492 }
493 throw new OutOfMemoryException();
494 }
class f__AnonymousType0<< Count > j__TPar

References j__TPar, System.L, System.obj, and System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw().