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

◆ ResolveContract()

virtual JsonContract Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContract ( Type type)
inlinevirtual

Implements Newtonsoft.Json.Serialization.IContractResolver.

Definition at line 159 of file DefaultContractResolver.cs.

160 {
161 if (type != null)
162 {
163 DefaultContractResolverState state = this.GetState();
165 if (state.ContractCache != null)
166 {
167 }
168 Monitor.Enter(this);
169 if (state.ContractCache != null)
170 {
171 }
172 Monitor.Exit(this);
173 }
174 Monitor.Exit(this);
175 throw new OutOfMemoryException();
176 }
class f__AnonymousType0<< Count > j__TPar
static void Exit(object obj)
Definition Monitor.cs:47
static void Enter(object obj)
Definition Monitor.cs:11
new Type GetType()
Definition Type.cs:287

References System.Threading.Monitor.Enter(), System.Threading.Monitor.Exit(), Newtonsoft.Json.Serialization.DefaultContractResolver.GetState(), System.Type.GetType(), j__TPar, and System.state.