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