Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ WeakReference() [7/7]

Definition at line 113 of file WeakReference.cs.

114 {
115 if (info == null)
116 {
117 throw new ArgumentNullException("info");
118 }
119 T target = (T)info.GetValue("TrackedObject", typeof(T));
120 bool boolean = info.GetBoolean("TrackResurrection");
121 Create(target, boolean);
122 }
void Create(object target, bool trackResurrection)

References System.WeakReference< T >.Create(), System.Runtime.Serialization.Dictionary, System.info, and System.T.