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

◆ ReadAsBoolean()

virtual ? bool Newtonsoft.Json.JsonReader.ReadAsBoolean ( )
inlinevirtualinherited

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

Definition at line 529 of file JsonReader.cs.

530 {
531 JsonToken contentToken = this.GetContentToken();
533 bool flag = Convert.ToBoolean(this, invariantCulture);
534 JsonPosition currentPosition = this._currentPosition;
535 int num = 10;
537 if (currentPosition != null)
538 {
539 if (this != null)
540 {
541 }
542 bool? flag2;
543 return flag2;
544 }
546 int num2 = 12;
547 this._currentState = (JsonReader.State)num2;
549 string text;
550 JsonReaderException ex = JsonReaderException.Create(this, text);
551 throw new InvalidCastException();
552 }
class f__AnonymousType0<< Count > j__TPar
bool< CloseInput > k__BackingField
JsonPosition _currentPosition
static bool ToBoolean(object value, IFormatProvider provider)
Definition Convert.cs:214
static CultureInfo InvariantCulture

References Newtonsoft.Json.JsonReader._currentPosition, Newtonsoft.Json.JsonReaderException.Create(), Newtonsoft.Json.JsonReader.GetContentToken(), System.Globalization.CultureInfo.InvariantCulture, j__TPar, Newtonsoft.Json.JsonReader.k__BackingField, Newtonsoft.Json.JsonReader.SupportMultipleContent, System.text, and System.Convert.ToBoolean().