1 write to Items
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (1)
828dataNode.Items ??= new List<IDataNode?>();
11 references to Items
System.Private.DataContractSerialization (11)
System\Runtime\Serialization\ExtensionDataReader.cs (4)
557if (dataNode.Items != null && _element.childElementIndex < dataNode.Items.Count) 560_context.IncrementItemCount(-dataNode.Items.Count); 562IDataNode? item = dataNode.Items[_element.childElementIndex++];
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (6)
829dataNode.Items.Add(ReadExtensionDataValue(xmlReader)); 839if (dataNode.Items == null) 844else if (dataNode.Size != dataNode.Items.Count) 845throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.ArraySizeAttributeIncorrect, arraySize, dataNode.Items.Count)); 849if (dataNode.Items != null) 851dataNode.Size = dataNode.Items.Count;
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (1)
782IList<IDataNode?>? items = dataNode.Items;