3 writes to _elements
System.Private.DataContractSerialization (3)
System\Runtime\Serialization\ExtensionDataReader.cs (3)
106
_elements
= null;
774
_elements
= new ElementData[8];
780
_elements
= newElements;
13 references to _elements
System.Private.DataContractSerialization (13)
System\Runtime\Serialization\ExtensionDataReader.cs (13)
742
_elements
[_depth++] = _element;
763
if (
_elements
!= null)
765
_element =
_elements
[_depth];
769
[MemberNotNull(nameof(
_elements
))]
772
if (
_elements
== null)
776
else if (
_elements
.Length == _depth)
778
ElementData[] newElements = new ElementData[
_elements
.Length * 2];
779
Array.Copy(
_elements
, newElements,
_elements
.Length);
787
return (
_elements
== null ||
_elements
.Length <= nextDepth ||
_elements
[nextDepth] == null)
788
? new ElementData() :
_elements
[nextDepth]!;