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)
82
IDataNode? retVal =
_element
!.dataNode;
110
[MemberNotNullWhen(false, nameof(
_element
))]
163
AttributeData attribute =
_element
.attributes![index];
177
for (int i = 0; i <
_element
.attributeCount; i++)
179
AttributeData attribute =
_element
.attributes![i];
192
for (int i = 0; i <
_element
.attributeCount; i++)
194
AttributeData attribute =
_element
.attributes![i];
220
_localName =
_element
!.localName;
221
_ns =
_element
.ns;
222
_prefix =
_element
.prefix;
224
_attributeCount =
_element
.attributeCount;
292
MoveNext(
_element
!.dataNode);
537
Debug.Assert(
_element
!= null);
538
if (dataNode.Members != null &&
_element
.childElementIndex < dataNode.Members.Count)
540
if (
_element
.childElementIndex == 0)
543
ExtensionDataMember member = dataNode.Members[
_element
.childElementIndex++];
549
_element
.childElementIndex = 0;
556
Debug.Assert(
_element
!= null);
557
if (dataNode.Items != null &&
_element
.childElementIndex < dataNode.Items.Count)
559
if (
_element
.childElementIndex == 0)
562
IDataNode? item = dataNode.Items[
_element
.childElementIndex++];
568
_element
.childElementIndex = 0;
575
Debug.Assert(
_element
!= null);
576
if (dataNode.Members != null &&
_element
.childElementIndex < dataNode.Members.Count)
578
if (
_element
.childElementIndex == 0)
581
ISerializableDataMember member = dataNode.Members[
_element
.childElementIndex++];
587
_element
.childElementIndex = 0;
605
if (
_element
== null)
613
dataNode.XmlAttributes, dataNode.XmlChildNodes,
_element
?.prefix,
_element
?.localName,
_element
?.ns);
614
if (
_element
!= null)
616
for (int i = 0; i <
_element
.attributeCount; i++)
618
AttributeData a =
_element
.attributes![i];
742
_elements[_depth++] =
_element
;
754
_prefix =
_element
!.prefix;
755
_localName =
_element
.localName;
756
_ns =
_element
.ns;