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

◆ GetObjectData()

virtual void System.Collections.Generic.Dictionary< TKey, TValue >.GetObjectData ( SerializationInfo info,
StreamingContext context )
inlinevirtual

Implements System.Runtime.Serialization.ISerializable.

Definition at line 354 of file Dictionary.cs.

355 {
356 if (info == null)
357 {
359 }
360 int version = this._version;
361 info.AddValue("Version", version);
362 if (this._comparer == null)
363 {
364 }
365 Type type;
366 info.AddValue("Comparer", info, type);
367 if (this._buckets != null)
368 {
369 return;
370 }
371 long num = 0L;
372 info.AddValue("HashSize", (int)num);
373 int[] buckets = this._buckets;
374 if (buckets != null)
375 {
376 Type type2;
377 info.AddValue("KeyValuePairs", buckets, type2);
378 return;
379 }
380 }
class f__AnonymousType0<< Count > j__TPar
IEqualityComparer< TKey > _comparer
void AddValue(string name, object value, Type type)
static void ThrowArgumentNullException(ExceptionArgument argument)

References System.Collections.Generic.Dictionary< TKey, TValue >._buckets, System.Collections.Generic.Dictionary< TKey, TValue >._comparer, System.Collections.Generic.Dictionary< TKey, TValue >._version, System.Runtime.Serialization.SerializationInfo.AddValue(), System.info, j__TPar, System.L, and System.ThrowHelper.ThrowArgumentNullException().