1 write to _indentLength
System.Text.Json (1)
System\Text\Json\Writer\Utf8JsonWriter.cs (1)
252
_indentLength
= options.IndentSize;
48 references to _indentLength
System.Text.Json (48)
System\Text\Json\Writer\Utf8JsonWriter.cs (4)
108
private int Indentation => CurrentDepth *
_indentLength
;
665
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
1102
indent -=
_indentLength
;
1105
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Bytes.cs (2)
280
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
330
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.DateTime.cs (2)
284
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
333
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.DateTimeOffset.cs (2)
283
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
332
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Decimal.cs (2)
277
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
323
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Double.cs (2)
281
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
327
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Float.cs (2)
281
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
327
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Guid.cs (2)
285
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
335
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Helpers.cs (2)
106
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
178
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Literal.cs (2)
424
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
470
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.SignedNumber.cs (2)
350
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
396
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.String.cs (6)
187
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
375
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
1501
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
1551
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
1602
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
1653
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.UnsignedNumber.cs (2)
359
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
405
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Bytes.cs (1)
91
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Comment.cs (2)
112
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
219
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.DateTime.cs (1)
69
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.DateTimeOffset.cs (1)
70
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Decimal.cs (1)
66
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Double.cs (1)
70
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Float.cs (1)
70
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.FormattedNumber.cs (1)
70
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Guid.cs (1)
70
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Literal.cs (1)
89
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.SignedNumber.cs (1)
79
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.String.cs (2)
146
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
293
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.StringSegment.cs (1)
476
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.UnsignedNumber.cs (1)
81
Debug.Assert(indent <=
_indentLength
* _options.MaxDepth);