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

◆ ReadAsInt32()

virtual ? int Newtonsoft.Json.JsonReader.ReadAsInt32 ( )
inlinevirtualinherited

Reimplemented in Newtonsoft.Json.JsonTextReader, and Newtonsoft.Json.Serialization.TraceJsonReader.

Definition at line 356 of file JsonReader.cs.

357 {
358 JsonToken contentToken = this.GetContentToken();
359 if (this != null)
360 {
361 }
363 int num = Convert.ToInt32(this, invariantCulture);
364 JsonPosition currentPosition = this._currentPosition;
365 this._tokenType = JsonToken.Integer;
366 if (currentPosition != null)
367 {
368 if (this != null)
369 {
370 }
371 int? num2;
372 return num2;
373 }
374 bool flag = this.<SupportMultipleContent>k__BackingField;
375 this._currentState = JsonReader.State.Finished;
377 throw new InvalidCastException();
378 }
class f__AnonymousType0<< Count > j__TPar
bool< CloseInput > k__BackingField
JsonPosition _currentPosition
static int ToInt32(object value)
Definition Convert.cs:1412
static CultureInfo InvariantCulture

References Newtonsoft.Json.JsonReader._currentPosition, Newtonsoft.Json.JsonReader.GetContentToken(), System.Globalization.CultureInfo.InvariantCulture, j__TPar, Newtonsoft.Json.JsonReader.k__BackingField, Newtonsoft.Json.JsonReader.SupportMultipleContent, and System.Convert.ToInt32().