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

◆ GetServerObject()

MarshalByRefObject System.Runtime.Remoting.SingletonIdentity.GetServerObject ( )
inline

Definition at line 18 of file SingletonIdentity.cs.

19 {
20 while (this._serverObject != null)
21 {
22 }
23 if (this._serverObject != null)
24 {
25 }
26 Type objectType = this._objectType;
27 int num = 1;
28 object obj = Activator.CreateInstance(objectType, num != 0);
29 if (obj != null)
30 {
31 }
33 if (obj != null && obj == null)
34 {
35 throw new InvalidCastException();
36 }
37 long num2 = 0L;
38 Monitor.Exit(this);
39 if (num2 == 0L)
40 {
41 return this._serverObject;
42 }
43 throw new OutOfMemoryException();
44 }
class f__AnonymousType0<< Count > j__TPar
static object CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, object[] args, CultureInfo culture)
Definition Activator.cs:15
static Context InternalGetDefaultContext()
Definition AppDomain.cs:183
static void Exit(object obj)
Definition Monitor.cs:47

References System.Runtime.Remoting.ServerIdentity._objectType, System.Runtime.Remoting.ServerIdentity._serverObject, System.Activator.CreateInstance(), System.Threading.Monitor.Exit(), System.AppDomain.InternalGetDefaultContext(), j__TPar, System.L, and System.obj.