1 write to _parent
System.Text.Json (1)
System\Text\Json\Document\JsonElement.cs (1)
29
_parent
= parent;
45 references to _parent
System.Text.Json (45)
System\Text\Json\Document\JsonElement.ArrayEnumerator.cs (3)
29
_endIdxOrVersion = target.
_parent
.GetEndIndex(_target._idx, includeEndElement: false);
42
return new JsonElement(_target.
_parent
, _curIdx);
95
_curIdx = _target.
_parent
.GetEndIndex(_curIdx, includeEndElement: true);
System\Text\Json\Document\JsonElement.cs (39)
38
return
_parent
?.GetJsonTokenType(_idx) ?? JsonTokenType.None;
68
return
_parent
.GetArrayIndexElement(_idx, index);
86
return
_parent
.GetArrayLength(_idx);
103
return
_parent
.GetPropertyCount(_idx);
297
return
_parent
.TryGetNamedPropertyValue(_idx, propertyName, out value);
333
return
_parent
.TryGetNamedPropertyValue(_idx, utf8PropertyName, out value);
386
return
_parent
.GetString(_idx, JsonTokenType.String);
410
return
_parent
.TryGetValue(_idx, out value);
462
return
_parent
.TryGetValue(_idx, out value);
510
return
_parent
.TryGetValue(_idx, out value);
560
return
_parent
.TryGetValue(_idx, out value);
608
return
_parent
.TryGetValue(_idx, out value);
659
return
_parent
.TryGetValue(_idx, out value);
707
return
_parent
.TryGetValue(_idx, out value);
758
return
_parent
.TryGetValue(_idx, out value);
809
return
_parent
.TryGetValue(_idx, out value);
869
return
_parent
.TryGetValue(_idx, out value);
936
return
_parent
.TryGetValue(_idx, out value);
995
return
_parent
.TryGetValue(_idx, out value);
1046
return
_parent
.TryGetValue(_idx, out value);
1097
return
_parent
.TryGetValue(_idx, out value);
1148
return
_parent
.TryGetValue(_idx, out value);
1182
return
_parent
.GetNameOfPropertyValue(_idx);
1189
return
_parent
.GetPropertyNameRaw(_idx);
1205
return
_parent
.GetRawValueAsString(_idx);
1212
return
_parent
.GetRawValue(_idx, includeQuotes: true);
1219
return
_parent
.GetPropertyRawValueAsString(_idx);
1228
return
_parent
.ValueIsEscaped(_idx, isPropertyName: false);
1238
return
_parent
.GetRawValue(_idx, includeQuotes: false).Span;
1517
return
_parent
.TextEquals(_idx, utf8Text, isPropertyName, shouldUnescape);
1524
return
_parent
.TextEquals(_idx, text, isPropertyName);
1531
return
_parent
.ValueIsEscaped(_idx, isPropertyName);
1556
_parent
.WriteElementTo(_idx, writer);
1563
_parent
.WritePropertyName(_idx, writer);
1668
Debug.Assert(
_parent
!= null);
1669
return
_parent
.GetRawValueAsString(_idx);
1701
if (!
_parent
.IsDisposable)
1706
return
_parent
.CloneElement(_idx);
1711
if (
_parent
== null)
System\Text\Json\Document\JsonElement.ObjectEnumerator.cs (3)
28
_endIdxOrVersion = target.
_parent
.GetEndIndex(_target._idx, includeEndElement: false);
41
return new JsonProperty(new JsonElement(_target.
_parent
, _curIdx));
100
_curIdx = _target.
_parent
.GetEndIndex(_curIdx, includeEndElement: true);