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

◆ ReadNumberValue()

object Newtonsoft.Json.JsonTextReader.ReadNumberValue ( ReadType readType)
inlineprivate

Definition at line 372 of file JsonTextReader.cs.

373 {
374 if (this._chars == null)
375 {
376 IArrayPool<char> arrayPool = this._arrayPool;
377 int num = 1024;
378 char[] array = BufferUtils.RentBuffer(arrayPool, num);
380 }
381 JsonReader.State currentState = this._currentState;
382 this._charPos = (int)currentState;
383 this._charPos = (int)currentState;
384 if (currentState == JsonReader.State.Start)
385 {
386 }
387 char[] chars = this._chars;
388 bool flag = this.ReadNullChar();
389 this.ProcessValueComma();
390 long num2 = 0L;
391 this.ProcessCarriageReturn(num2 != 0L);
392 int lineNumber = this._lineNumber;
393 this._charPos = (int)currentState;
394 this._lineStartPos = (int)currentState;
395 this._isEndOfFile = lineNumber != 0;
396 long num3 = 0L;
397 this.ParseComment(num3 != 0L);
398 this.ReadFinished();
399 this.HandleNull();
400 return this.ParseNumberNaN(readType);
401 }
class f__AnonymousType0<< Count > j__TPar
JsonReader.State _currentState
object ParseNumberNaN(ReadType readType)
void ProcessCarriageReturn(bool append)
void ParseComment(bool setToken)
static char[] RentBuffer(IArrayPool< char > bufferPool, int minSize)

References Newtonsoft.Json.JsonTextReader._arrayPool, Newtonsoft.Json.JsonTextReader._chars, Newtonsoft.Json.JsonReader._currentState, Newtonsoft.Json.JsonTextReader._lineNumber, System.array, Newtonsoft.Json.JsonTextReader.HandleNull(), j__TPar, System.L, Newtonsoft.Json.JsonTextReader.ParseComment(), Newtonsoft.Json.JsonTextReader.ParseNumberNaN(), Newtonsoft.Json.JsonTextReader.ProcessCarriageReturn(), Newtonsoft.Json.JsonTextReader.ProcessValueComma(), Newtonsoft.Json.JsonTextReader.ReadFinished(), Newtonsoft.Json.JsonTextReader.ReadNullChar(), and Newtonsoft.Json.Utilities.BufferUtils.RentBuffer().

Referenced by Newtonsoft.Json.JsonTextReader.ReadAsDecimal(), Newtonsoft.Json.JsonTextReader.ReadAsDouble(), and Newtonsoft.Json.JsonTextReader.ReadAsInt32().