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