6 writes to _element
System.Private.DataContractSerialization (6)
System\Runtime\Serialization\ExtensionDataReader.cs (6)
90_element = _nextElement; 104_element = null; 606_element = _nextElement; 744_element = GetNextElement(); 747_element = _nextElement; 765_element = _elements[_depth];
38 references to _element
System.Private.DataContractSerialization (38)
System\Runtime\Serialization\ExtensionDataReader.cs (38)
82IDataNode? retVal = _element!.dataNode; 110[MemberNotNullWhen(false, nameof(_element))] 163AttributeData attribute = _element.attributes![index]; 177for (int i = 0; i < _element.attributeCount; i++) 179AttributeData attribute = _element.attributes![i]; 192for (int i = 0; i < _element.attributeCount; i++) 194AttributeData attribute = _element.attributes![i]; 220_localName = _element!.localName; 221_ns = _element.ns; 222_prefix = _element.prefix; 224_attributeCount = _element.attributeCount; 292MoveNext(_element!.dataNode); 537Debug.Assert(_element != null); 538if (dataNode.Members != null && _element.childElementIndex < dataNode.Members.Count) 540if (_element.childElementIndex == 0) 543ExtensionDataMember member = dataNode.Members[_element.childElementIndex++]; 549_element.childElementIndex = 0; 556Debug.Assert(_element != null); 557if (dataNode.Items != null && _element.childElementIndex < dataNode.Items.Count) 559if (_element.childElementIndex == 0) 562IDataNode? item = dataNode.Items[_element.childElementIndex++]; 568_element.childElementIndex = 0; 575Debug.Assert(_element != null); 576if (dataNode.Members != null && _element.childElementIndex < dataNode.Members.Count) 578if (_element.childElementIndex == 0) 581ISerializableDataMember member = dataNode.Members[_element.childElementIndex++]; 587_element.childElementIndex = 0; 605if (_element == null) 613dataNode.XmlAttributes, dataNode.XmlChildNodes, _element?.prefix, _element?.localName, _element?.ns); 614if (_element != null) 616for (int i = 0; i < _element.attributeCount; i++) 618AttributeData a = _element.attributes![i]; 742_elements[_depth++] = _element; 754_prefix = _element!.prefix; 755_localName = _element.localName; 756_ns = _element.ns;