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

◆ DoValueTypeFixup()

bool System.Runtime.Serialization.ObjectManager.DoValueTypeFixup ( FieldInfo memberToFix,
ObjectHolder holder,
object value )
inlineprivate

Definition at line 164 of file ObjectManager.cs.

165 {
166 int flags = holder.m_flags;
167 long num = 0L;
168 object @object = holder.m_object;
169 ValueTypeFixupInfo valueFixup = holder.m_valueFixup;
170 object object2 = holder.m_object;
171 FieldInfo parentField = valueFixup._parentField;
172 long containerID = valueFixup._containerID;
173 FieldInfo parentField2 = valueFixup._parentField;
174 ObjectHolder[] objects = this.m_objects;
175 if (containerID != 0L)
176 {
177 if (objects == null)
178 {
179 }
180 if ((parentField2 != null && parentField2 == null) || parentField2 == null)
181 {
182 goto IL_009A;
183 }
184 }
185 long num2 = 0L;
186 long id = objects.m_id;
187 int missingElementsRemaining = objects.m_missingElementsRemaining;
189 {
190 while (missingElementsRemaining != 0)
191 {
192 }
193 }
194 if (num != 0L)
195 {
196 if (num != 0L)
197 {
198 }
199 if (num != 0L && num == 0L)
200 {
201 goto IL_009A;
202 }
203 if (num == 0L)
204 {
205 goto IL_0090;
206 }
207 }
208 if (num2 != 0L || num2 != 0L)
209 {
210 goto IL_0094;
211 }
212 IL_0090:
213 if (num2 == 0L)
214 {
215 goto IL_0097;
216 }
217 IL_0094:
218 if (num != 0L)
219 {
220 }
221 IL_0097:
222 IL_009A:
223 throw new ArrayTypeMismatchException();
224 }
class f__AnonymousType0<< Count > j__TPar

References j__TPar, System.L, System.Runtime.Serialization.ObjectHolder.m_id, System.Runtime.Serialization.ObjectHolder.m_missingElementsRemaining, and System.Runtime.Serialization.ObjectManager.m_objects.