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
JsonTextWriter.cs
Go to the documentation of this file.
1using System;
3using System.IO;
6
7namespace Newtonsoft.Json
8{
9 // Token: 0x0200002C RID: 44
10 [Preserve]
12 {
13 // Token: 0x17000049 RID: 73
14 // (get) Token: 0x06000108 RID: 264 RVA: 0x00004DC0 File Offset: 0x00002FC0
16 {
17 get
18 {
19 /*
20An exception occurred when decompiling this method (06000108)
21
22ICSharpCode.Decompiler.DecompilerException: Error decompiling Newtonsoft.Json.Utilities.Base64Encoder Newtonsoft.Json.JsonTextWriter::get_Base64Encoder()
23
24 ---> System.Exception: Basic block has to end with unconditional control flow.
25{
26 Block_0:
27 stloc:TextWriter(var_0_0E, ldfld:TextWriter(JsonTextWriter::_writer, ldloc:JsonTextWriter(this)))
28}
29
30 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
31 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
32 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
33 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
34 --- End of inner exception stack trace ---
35 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
36 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
37*/;
38 }
39 }
40
41 // Token: 0x1700004A RID: 74
42 // (get) Token: 0x06000109 RID: 265 RVA: 0x00004DDC File Offset: 0x00002FDC
43 // (set) Token: 0x0600010A RID: 266 RVA: 0x00004DF0 File Offset: 0x00002FF0
45 {
46 get
47 {
48 return this._arrayPool;
49 }
50 set
51 {
52 while (value == null)
53 {
54 }
56 }
57 }
58
59 // Token: 0x1700004B RID: 75
60 // (get) Token: 0x0600010B RID: 267 RVA: 0x00004E08 File Offset: 0x00003008
61 // (set) Token: 0x0600010C RID: 268 RVA: 0x00004E1C File Offset: 0x0000301C
62 public int Indentation
63 {
64 get
65 {
66 return this._indentation;
67 }
68 set
69 {
71 }
72 }
73
74 // Token: 0x1700004C RID: 76
75 // (get) Token: 0x0600010D RID: 269 RVA: 0x00004E30 File Offset: 0x00003030
76 // (set) Token: 0x0600010E RID: 270 RVA: 0x00004E44 File Offset: 0x00003044
77 public char QuoteChar
78 {
79 get
80 {
81 return this._quoteChar;
82 }
83 set
84 {
87 }
88 }
89
90 // Token: 0x1700004D RID: 77
91 // (get) Token: 0x0600010F RID: 271 RVA: 0x00004E60 File Offset: 0x00003060
92 // (set) Token: 0x06000110 RID: 272 RVA: 0x00004E74 File Offset: 0x00003074
93 public char IndentChar
94 {
95 get
96 {
97 return this._indentChar;
98 }
99 set
100 {
101 char indentChar = this._indentChar;
103 }
104 }
105
106 // Token: 0x1700004E RID: 78
107 // (get) Token: 0x06000111 RID: 273 RVA: 0x00004E90 File Offset: 0x00003090
108 // (set) Token: 0x06000112 RID: 274 RVA: 0x00004EA4 File Offset: 0x000030A4
109 public bool QuoteName
110 {
111 get
112 {
113 return this._quoteName;
114 }
115 set
116 {
117 }
118 }
119
120 // Token: 0x06000113 RID: 275 RVA: 0x00004EB4 File Offset: 0x000030B4
121 public JsonTextWriter(TextWriter textWriter)
122 {
123 do
124 {
125 if (!true)
126 {
127 }
128 base..ctor();
129 }
130 while (textWriter == null);
131 this._writer = textWriter;
132 this._quoteChar = '"';
133 this._quoteName = true;
134 this._indentChar = ' ';
137 }
138
139 // Token: 0x06000114 RID: 276 RVA: 0x00004EF8 File Offset: 0x000030F8
140 public override void Flush()
141 {
142 TextWriter writer = this._writer;
143 }
144
145 // Token: 0x06000115 RID: 277 RVA: 0x00004F0C File Offset: 0x0000310C
146 public override void Close()
147 {
148 base.Close();
149 char[] writeBuffer = this._writeBuffer;
150 if (writeBuffer != null)
151 {
152 BufferUtils.ReturnBuffer(this._arrayPool, writeBuffer);
153 }
154 if (this.<CloseOutput>k__BackingField && this._writer != null)
155 {
156 return;
157 }
158 }
159
160 // Token: 0x06000116 RID: 278 RVA: 0x00004F48 File Offset: 0x00003148
161 public override void WriteStartObject()
162 {
163 base.InternalWriteStart(JsonToken.StartObject, JsonContainerType.Object);
164 TextWriter writer = this._writer;
165 }
166
167 // Token: 0x06000117 RID: 279 RVA: 0x00004F64 File Offset: 0x00003164
168 public override void WriteStartArray()
169 {
170 base.InternalWriteStart(JsonToken.StartArray, JsonContainerType.Array);
171 TextWriter writer = this._writer;
172 }
173
174 // Token: 0x06000118 RID: 280 RVA: 0x00004F80 File Offset: 0x00003180
175 public override void WriteStartConstructor(string name)
176 {
177 base.InternalWriteStart(JsonToken.StartConstructor, JsonContainerType.Constructor);
178 TextWriter writer = this._writer;
181 }
182
183 // Token: 0x06000119 RID: 281 RVA: 0x00004FAC File Offset: 0x000031AC
184 protected override void WriteEnd(JsonToken token)
185 {
186 TextWriter writer = this._writer;
187 }
188
189 // Token: 0x0600011A RID: 282 RVA: 0x00004FC4 File Offset: 0x000031C4
190 public override void WritePropertyName(string name)
191 {
192 base.InternalWritePropertyName(name);
193 bool quoteName = this._quoteName;
194 this.WriteEscapedString(name, quoteName);
195 TextWriter writer = this._writer;
196 }
197
198 // Token: 0x0600011B RID: 283 RVA: 0x00004FF0 File Offset: 0x000031F0
199 public override void WritePropertyName(string name, bool escape)
200 {
201 long num = 0L;
202 base.InternalWritePropertyName(name);
203 bool quoteName = this._quoteName;
204 this.WriteEscapedString(name, num != 0L);
205 }
206
207 // Token: 0x0600011C RID: 284 RVA: 0x00005050 File Offset: 0x00003250
208 internal override void OnStringEscapeHandlingChanged()
209 {
211 }
212
213 // Token: 0x0600011D RID: 285 RVA: 0x00005064 File Offset: 0x00003264
215 {
217 char quoteChar = this._quoteChar;
218 if (!true)
219 {
220 }
223 }
224
225 // Token: 0x0600011E RID: 286 RVA: 0x00005094 File Offset: 0x00003294
226 protected override void WriteIndent()
227 {
228 TextWriter writer = this._writer;
229 int top = base.Top;
230 int indentation = this._indentation;
231 char[] indentChars = this._indentChars;
232 if (indentChars == null)
233 {
234 char indentChar = this._indentChar;
235 string text;
236 char[] array = text.ToCharArray();
238 }
239 if (indentChars == null)
240 {
241 }
242 int num = 10;
243 int num2 = Math.Min(43159552, num);
245 char[] indentChars2 = this._indentChars;
246 }
247
248 // Token: 0x0600011F RID: 287 RVA: 0x00005108 File Offset: 0x00003308
249 protected override void WriteValueDelimiter()
250 {
251 TextWriter writer = this._writer;
252 }
253
254 // Token: 0x06000120 RID: 288 RVA: 0x0000511C File Offset: 0x0000331C
255 protected override void WriteIndentSpace()
256 {
257 TextWriter writer = this._writer;
258 }
259
260 // Token: 0x06000121 RID: 289 RVA: 0x00005130 File Offset: 0x00003330
261 private void WriteValueInternal(string value, JsonToken token)
262 {
263 TextWriter writer = this._writer;
264 }
265
266 // Token: 0x06000122 RID: 290 RVA: 0x00005144 File Offset: 0x00003344
267 public override void WriteValue(object value)
268 {
269 base.WriteValue(value);
270 }
271
272 // Token: 0x06000123 RID: 291 RVA: 0x00005158 File Offset: 0x00003358
273 public override void WriteNull()
274 {
275 base.InternalWriteValue(JsonToken.Null);
276 if (!true)
277 {
278 }
279 TextWriter writer = this._writer;
280 }
281
282 // Token: 0x06000124 RID: 292 RVA: 0x00005178 File Offset: 0x00003378
283 public override void WriteUndefined()
284 {
285 base.InternalWriteValue(JsonToken.Undefined);
286 if (!true)
287 {
288 }
289 TextWriter writer = this._writer;
290 }
291
292 // Token: 0x06000125 RID: 293 RVA: 0x00005198 File Offset: 0x00003398
293 public override void WriteRaw(string json)
294 {
295 base.InternalWriteRaw();
296 TextWriter writer = this._writer;
297 }
298
299 // Token: 0x06000126 RID: 294 RVA: 0x000051B4 File Offset: 0x000033B4
300 public override void WriteValue(string value)
301 {
302 base.InternalWriteValue(JsonToken.String);
303 if (value != null)
304 {
305 this.WriteEscapedString(value, true);
306 return;
307 }
308 if (!true)
309 {
310 }
311 TextWriter writer = this._writer;
312 }
313
314 // Token: 0x06000127 RID: 295 RVA: 0x000051E0 File Offset: 0x000033E0
315 private void WriteEscapedString(string value, bool quote)
316 {
317 char[] writeBuffer = this._writeBuffer;
318 if (writeBuffer == null)
319 {
320 char[] array = BufferUtils.RentBuffer(this._arrayPool, 35);
322 }
323 TextWriter writer = this._writer;
324 char quoteChar = this._quoteChar;
325 bool[] charEscapeFlags = this._charEscapeFlags;
328 if (writeBuffer == null)
329 {
330 }
331 }
332
333 // Token: 0x06000128 RID: 296 RVA: 0x00005238 File Offset: 0x00003438
334 public override void WriteValue(int value)
335 {
336 }
337
338 // Token: 0x06000129 RID: 297 RVA: 0x00005248 File Offset: 0x00003448
339 [CLSCompliant(false)]
340 public override void WriteValue(uint value)
341 {
342 base.InternalWriteValue(JsonToken.Integer);
343 this.WriteIntegerValue((long)value);
344 }
345
346 // Token: 0x0600012A RID: 298 RVA: 0x00005264 File Offset: 0x00003464
347 public override void WriteValue(long value)
348 {
349 base.InternalWriteValue(JsonToken.Integer);
350 this.WriteIntegerValue(value);
351 }
352
353 // Token: 0x0600012B RID: 299 RVA: 0x00005280 File Offset: 0x00003480
354 [CLSCompliant(false)]
355 public override void WriteValue(ulong value)
356 {
357 base.InternalWriteValue(JsonToken.Integer);
358 this.WriteIntegerValue(value);
359 }
360
361 // Token: 0x0600012C RID: 300 RVA: 0x0000529C File Offset: 0x0000349C
362 public override void WriteValue(float value)
363 {
364 base.InternalWriteValue(JsonToken.Float);
366 char quoteChar = this._quoteChar;
367 if (!true)
368 {
369 }
370 long num = 0L;
371 string text = JsonConvert.ToString(value, floatFormatHandling, quoteChar, num != 0L);
372 TextWriter writer = this._writer;
373 }
374
375 // Token: 0x0600012D RID: 301 RVA: 0x000052D8 File Offset: 0x000034D8
376 public override void WriteValue(float? value)
377 {
378 base.InternalWriteValue(JsonToken.Float);
380 char quoteChar = this._quoteChar;
381 if (!true)
382 {
383 }
384 TextWriter writer = this._writer;
385 }
386
387 // Token: 0x0600012E RID: 302 RVA: 0x00005308 File Offset: 0x00003508
388 public override void WriteValue(double value)
389 {
390 base.InternalWriteValue(JsonToken.Float);
392 char quoteChar = this._quoteChar;
393 if (!true)
394 {
395 }
396 long num = 0L;
397 string text = JsonConvert.ToString(value, floatFormatHandling, quoteChar, num != 0L);
398 TextWriter writer = this._writer;
399 }
400
401 // Token: 0x0600012F RID: 303 RVA: 0x00005344 File Offset: 0x00003544
402 public override void WriteValue(double? value)
403 {
404 base.InternalWriteValue(JsonToken.Float);
406 char quoteChar = this._quoteChar;
407 if (!true)
408 {
409 }
410 TextWriter writer = this._writer;
411 }
412
413 // Token: 0x06000130 RID: 304 RVA: 0x00005374 File Offset: 0x00003574
414 public override void WriteValue(bool value)
415 {
416 base.InternalWriteValue(JsonToken.Boolean);
417 if (!true)
418 {
419 }
420 string text = JsonConvert.ToString(true);
421 TextWriter writer = this._writer;
422 }
423
424 // Token: 0x06000131 RID: 305 RVA: 0x0000539C File Offset: 0x0000359C
425 public override void WriteValue(short value)
426 {
427 }
428
429 // Token: 0x06000132 RID: 306 RVA: 0x000053AC File Offset: 0x000035AC
430 [CLSCompliant(false)]
431 public override void WriteValue(ushort value)
432 {
433 }
434
435 // Token: 0x06000133 RID: 307 RVA: 0x000053BC File Offset: 0x000035BC
436 public override void WriteValue(char value)
437 {
438 base.InternalWriteValue(JsonToken.String);
439 if (!true)
440 {
441 }
442 string text = JsonConvert.ToString(value);
443 TextWriter writer = this._writer;
444 }
445
446 // Token: 0x06000134 RID: 308 RVA: 0x000053E4 File Offset: 0x000035E4
447 public override void WriteValue(byte value)
448 {
449 }
450
451 // Token: 0x06000135 RID: 309 RVA: 0x000053F4 File Offset: 0x000035F4
452 [CLSCompliant(false)]
453 public override void WriteValue(sbyte value)
454 {
455 }
456
457 // Token: 0x06000136 RID: 310 RVA: 0x00005404 File Offset: 0x00003604
458 public override void WriteValue(decimal value)
459 {
460 base.InternalWriteValue(JsonToken.Float);
461 if (!true)
462 {
463 }
464 string text = JsonConvert.ToString(value);
465 TextWriter writer = this._writer;
466 }
467
468 // Token: 0x06000137 RID: 311 RVA: 0x0000542C File Offset: 0x0000362C
469 public override void WriteValue(DateTime value)
470 {
471 int num = 1;
473 if (num == 0)
474 {
475 }
477 bool flag = string.IsNullOrEmpty(this._dateFormatString);
478 if (this._writeBuffer == null)
479 {
481 int num2 = 35;
484 }
485 char quoteChar = this._quoteChar;
487 char[] writeBuffer = this._writeBuffer;
488 char quoteChar2 = this._quoteChar;
489 TextWriter writer = this._writer;
490 }
491
492 // Token: 0x06000138 RID: 312 RVA: 0x000054E4 File Offset: 0x000036E4
493 public override void WriteValue(byte[] value)
494 {
495 if (value != null)
496 {
497 base.InternalWriteValue(JsonToken.Bytes);
498 TextWriter writer = this._writer;
499 char quoteChar = this._quoteChar;
500 Base64Encoder base64Encoder = this.Base64Encoder;
501 this.Base64Encoder.Flush();
503 char quoteChar2 = this._quoteChar;
504 return;
505 }
506 }
507
508 // Token: 0x06000139 RID: 313 RVA: 0x0000552C File Offset: 0x0000372C
509 public override void WriteValue(DateTimeOffset value)
510 {
511 bool flag = string.IsNullOrEmpty(this._dateFormatString);
512 if (this._writeBuffer == null)
513 {
515 int num = 35;
516 char[] array = BufferUtils.RentBuffer(arrayPool, num);
518 }
519 char quoteChar = this._quoteChar;
520 if (this._dateFormatHandling != DateFormatHandling.IsoDateFormat)
521 {
522 return;
523 }
525 char[] writeBuffer = this._writeBuffer;
526 char quoteChar2 = this._quoteChar;
527 TextWriter writer = this._writer;
528 }
529
530 // Token: 0x0600013A RID: 314 RVA: 0x000055D0 File Offset: 0x000037D0
531 public override void WriteValue(Guid value)
532 {
533 base.InternalWriteValue(JsonToken.String);
534 if (!true)
535 {
536 }
538 TextWriter writer = this._writer;
539 char quoteChar = this._quoteChar;
542 char quoteChar2 = this._quoteChar;
543 }
544
545 // Token: 0x0600013B RID: 315 RVA: 0x00005618 File Offset: 0x00003818
546 public override void WriteValue(TimeSpan value)
547 {
548 base.InternalWriteValue(JsonToken.String);
549 TextWriter writer = this._writer;
550 char quoteChar = this._quoteChar;
553 char quoteChar2 = this._quoteChar;
554 }
555
556 // Token: 0x0600013C RID: 316 RVA: 0x00005654 File Offset: 0x00003854
557 public override void WriteValue(Uri value)
558 {
559 if (!true)
560 {
561 }
562 }
563
564 // Token: 0x0600013D RID: 317 RVA: 0x0000567C File Offset: 0x0000387C
565 public override void WriteComment(string text)
566 {
567 base.InternalWriteComment();
568 TextWriter writer = this._writer;
571 }
572
573 // Token: 0x0600013E RID: 318 RVA: 0x000056A4 File Offset: 0x000038A4
574 public override void WriteWhitespace(string ws)
575 {
576 /*
577An exception occurred when decompiling this method (0600013E)
578
579ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void Newtonsoft.Json.JsonTextWriter::WriteWhitespace(System.String)
580
581 ---> System.Exception: Basic block has to end with unconditional control flow.
582{
583 Block_0:
584 call:void(JsonWriter::InternalWriteWhitespace, ldloc:JsonTextWriter[exp:JsonWriter](this), ldloc:string(ws))
585 stloc:TextWriter(var_0_0D, ldfld:TextWriter(JsonTextWriter::_writer, ldloc:JsonTextWriter(this)))
586}
587
588 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
589 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
590 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
591 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
592 --- End of inner exception stack trace ---
593 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
594 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
595*/;
596 }
597
598 // Token: 0x0600013F RID: 319 RVA: 0x000056C0 File Offset: 0x000038C0
599 private void EnsureWriteBuffer()
600 {
601 if (this._writeBuffer == null)
602 {
603 char[] array = BufferUtils.RentBuffer(this._arrayPool, 35);
605 }
606 }
607
608 // Token: 0x06000140 RID: 320 RVA: 0x000056EC File Offset: 0x000038EC
609 private void WriteIntegerValue(long value)
610 {
611 TextWriter writer = this._writer;
612 int num = 45;
613 this.WriteIntegerValue((ulong)num);
614 }
615
616 // Token: 0x06000141 RID: 321 RVA: 0x00005714 File Offset: 0x00003914
618 {
619 TextWriter writer = this._writer;
620 }
621
622 // Token: 0x040000BB RID: 187
624
625 // Token: 0x040000BC RID: 188
627
628 // Token: 0x040000BD RID: 189
629 private char _indentChar;
630
631 // Token: 0x040000BE RID: 190
632 private int _indentation;
633
634 // Token: 0x040000BF RID: 191
635 private char _quoteChar;
636
637 // Token: 0x040000C0 RID: 192
638 private bool _quoteName;
639
640 // Token: 0x040000C1 RID: 193
641 private bool[] _charEscapeFlags;
642
643 // Token: 0x040000C2 RID: 194
644 private char[] _writeBuffer;
645
646 // Token: 0x040000C3 RID: 195
648
649 // Token: 0x040000C4 RID: 196
650 private char[] _indentChars;
651 }
652}
class f__AnonymousType0<< Count > j__TPar
static string ToString(DateTime value)
override void WriteValue(sbyte value)
override void WritePropertyName(string name)
override void WriteStartConstructor(string name)
override void WriteWhitespace(string ws)
void WriteIntegerValue(ulong uvalue)
override void WriteValue(decimal value)
override void WriteValue(ulong value)
override void WriteValue(DateTimeOffset value)
override void WriteRaw(string json)
override void WriteValue(TimeSpan value)
override void WriteValue(byte value)
override void WriteValue(ushort value)
override void WriteValue(int value)
override void WriteValue(long value)
override void WriteValue(string value)
override void WriteValue(bool value)
override void WritePropertyName(string name, bool escape)
override void WriteEnd(JsonToken token)
void WriteValueInternal(string value, JsonToken token)
override void WriteValue(float? value)
override void OnStringEscapeHandlingChanged()
override void WriteValue(short value)
override void WriteValue(double? value)
override void WriteValue(Guid value)
override void WriteComment(string text)
void WriteEscapedString(string value, bool quote)
JsonTextWriter(TextWriter textWriter)
override void WriteValue(object value)
override void WriteValue(uint value)
override void WriteValue(double value)
override void WriteValue(DateTime value)
override void WriteValue(float value)
override void WriteValue(char value)
override void WriteValue(byte[] value)
override void WriteValue(Uri value)
StringEscapeHandling _stringEscapeHandling
FloatFormatHandling _floatFormatHandling
DateFormatHandling _dateFormatHandling
DateTimeZoneHandling _dateTimeZoneHandling
bool< CloseOutput > k__BackingField
static char[] RentBuffer(IArrayPool< char > bufferPool, int minSize)
static void ReturnBuffer(IArrayPool< char > bufferPool, char[] buffer)
static DateTime EnsureDateTime(DateTime value, DateTimeZoneHandling timeZone)
static bool[] GetCharEscapeFlags(StringEscapeHandling stringEscapeHandling, char quoteChar)
static CultureInfo InvariantCulture
static byte Min(byte val1, byte val2)
Definition Math.cs:152