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

◆ ReadStringValue()

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

Definition at line 266 of file JsonTextReader.cs.

267 {
268 if (this._chars == null)
269 {
270 IArrayPool<char> arrayPool = this._arrayPool;
271 int num = 1024;
272 char[] array = BufferUtils.RentBuffer(arrayPool, num);
274 }
275 JsonReader.State currentState = this._currentState;
276 this._charPos = (int)currentState;
277 this._charPos = (int)currentState;
278 if (currentState == JsonReader.State.Start)
279 {
280 }
281 char[] chars = this._chars;
282 long num2 = 0L;
283 this.ProcessCarriageReturn(num2 != 0L);
284 long num3 = 0L;
285 this.ParseComment(num3 != 0L);
286 this.ProcessValueComma();
287 bool flag = this.ReadNullChar();
288 int lineNumber = this._lineNumber;
289 this._charPos = (int)currentState;
290 this._lineStartPos = (int)currentState;
291 this._isEndOfFile = lineNumber != 0;
293 object obj;
294 return obj;
295 }
class f__AnonymousType0<< Count > j__TPar
JsonReader.State _currentState
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, j__TPar, System.L, System.obj, Newtonsoft.Json.JsonTextReader.ParseComment(), Newtonsoft.Json.JsonTextReader.ProcessCarriageReturn(), Newtonsoft.Json.JsonTextReader.ProcessValueComma(), Newtonsoft.Json.JsonTextReader.ReadNullChar(), and Newtonsoft.Json.Utilities.BufferUtils.RentBuffer().

Referenced by Newtonsoft.Json.JsonTextReader.ReadAsDateTime(), Newtonsoft.Json.JsonTextReader.ReadAsDateTimeOffset(), and Newtonsoft.Json.JsonTextReader.ReadAsString().