3 writes to elements
System.Runtime.Serialization (3)
System\Runtime\Serialization\ExtensionDataReader.cs (3)
115this.elements = null; 773elements = new ElementData[8]; 778elements = newElements;
12 references to elements
System.Runtime.Serialization (12)
System\Runtime\Serialization\ExtensionDataReader.cs (12)
743elements[depth++] = this.element; 764if (elements != null) 766this.element = elements[depth]; 772if (elements == null) 774else if (elements.Length == depth) 776ElementData[] newElements = new ElementData[elements.Length * 2]; 777Array.Copy(elements, 0, newElements, 0, elements.Length); 785return (elements == null || elements.Length <= nextDepth || elements[nextDepth] == null) 786? new ElementData() : elements[nextDepth];