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

◆ InvokeMember()

override object System.RuntimeType.InvokeMember ( string name,
BindingFlags bindingFlags,
Binder binder,
object target,
object[] providedArgs,
ParameterModifier[] modifiers,
CultureInfo culture,
string[] namedParams )
inline

Definition at line 1019 of file RuntimeType.cs.

1020 {
1021 int num;
1023 for (;;)
1024 {
1025 num = 28;
1026 if (providedArgs == null)
1027 {
1028 break;
1029 }
1030 if (providedArgs != null)
1031 {
1032 }
1033 if (binder == null)
1034 {
1035 goto IL_0045;
1036 }
1037 if (name == null)
1038 {
1039 goto IL_0138;
1040 }
1041 if (name._stringLength != 0)
1042 {
1043 bool flag = name.Equals("[DISPID=0]");
1044 }
1046 if (num != 0)
1047 {
1048 if (num != 0)
1049 {
1050 goto Block_5;
1051 }
1052 if (providedArgs == null)
1053 {
1054 goto IL_014A;
1055 }
1057 object genericCache = this.GenericCache;
1058 if (monoTypeInfo == null || num != 0)
1059 {
1060 }
1061 long num2 = 0L;
1062 if (defaultBinder == null)
1063 {
1064 goto IL_009C;
1065 }
1066 if (defaultBinder == null)
1067 {
1068 goto IL_0108;
1069 }
1070 if (defaultBinder == null)
1071 {
1072 goto IL_009C;
1073 }
1074 }
1075 }
1076 int num3;
1077 while (num3 == 0)
1078 {
1079 }
1080 return "Named parameter array cannot be bigger than argument array.";
1081 Block_5:
1082 if ("ToString" == null)
1083 {
1084 return "Cannot specify both GetField and SetProperty.";
1085 }
1086 return "Cannot specify both Get and Set on a field.";
1087 IL_0045:
1088 if ("ToString" == null)
1089 {
1090 }
1092 num3 = 15616;
1093 object obj;
1094 return obj;
1095 IL_009C:
1096 long value = 0.m_value;
1097 if (62208 != 0)
1098 {
1099 return "Cannot specify Set on a property and Invoke on a method.";
1100 }
1102 long num4 = 0L;
1103 if (providedArgs != null || providedArgs != null)
1104 {
1105 }
1106 if (num4 == 0L)
1107 {
1109 }
1110 if (num != 0)
1111 {
1112 long num2;
1113 if (num2 != 0L)
1114 {
1115 return "No arguments can be provided to Get a field value.";
1116 }
1117 if (this != null)
1118 {
1119 }
1120 if (num != 0)
1121 {
1122 object obj2;
1123 return obj2;
1124 }
1125 }
1126 else
1127 {
1128 if (!false)
1129 {
1130 }
1131 long num2;
1132 if (num2 == 0L)
1133 {
1134 }
1135 while (this == null)
1136 {
1137 }
1138 }
1139 throw new InvalidCastException();
1140 IL_0108:
1141 throw new InvalidCastException();
1142 IL_0138:
1143 return "name";
1144 IL_014A:
1145 return "Cannot specify both SetField and GetProperty.";
1146 }
class f__AnonymousType0<< Count > j__TPar
MonoTypeInfo type_info
string GetDefaultMemberName()
static Binder DefaultBinder
Definition Type.cs:1282

References System.Type.DefaultBinder, System.RuntimeType.GenericCache, System.RuntimeType.GetDefaultMemberName(), j__TPar, System.L, System.name, System.obj, System.RuntimeType.type_info, and System.value.