2 writes to _xmlNodeReader
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\ExtensionDataReader.cs (2)
599_xmlNodeReader = null; 624_xmlNodeReader = new XmlNodeReader(wrapperElement);
38 references to _xmlNodeReader
System.Private.DataContractSerialization (38)
System\Runtime\Serialization\ExtensionDataReader.cs (38)
109[MemberNotNullWhen(true, nameof(_xmlNodeReader))] 113public override XmlNodeType NodeType { get { return IsXmlDataNode ? _xmlNodeReader.NodeType : _nodeType; } } 114public override string LocalName { get { return IsXmlDataNode ? _xmlNodeReader.LocalName : _localName!; } } 115public override string NamespaceURI { get { return IsXmlDataNode ? _xmlNodeReader.NamespaceURI : _ns!; } } 116public override string Prefix { get { return IsXmlDataNode ? _xmlNodeReader.Prefix : _prefix!; } } 117public override string Value { get { return IsXmlDataNode ? _xmlNodeReader.Value : _value!; } } 118public override int Depth { get { return IsXmlDataNode ? _xmlNodeReader.Depth : _depth; } } 119public override int AttributeCount { get { return IsXmlDataNode ? _xmlNodeReader.AttributeCount : _attributeCount; } } 120public override bool EOF { get { return IsXmlDataNode ? _xmlNodeReader.EOF : (_readState == ReadState.EndOfFile); } } 121public override ReadState ReadState { get { return IsXmlDataNode ? _xmlNodeReader.ReadState : _readState; } } 122public override bool IsEmptyElement { get { return IsXmlDataNode ? _xmlNodeReader.IsEmptyElement : false; } } 123public override bool IsDefault { get { return IsXmlDataNode ? _xmlNodeReader.IsDefault : base.IsDefault; } } 125public override XmlSpace XmlSpace { get { return IsXmlDataNode ? _xmlNodeReader.XmlSpace : base.XmlSpace; } } 126public override string XmlLang { get { return IsXmlDataNode ? _xmlNodeReader.XmlLang : base.XmlLang; } } 127public override string this[int i] { get { return IsXmlDataNode ? _xmlNodeReader[i] : GetAttribute(i); } } 128public override string? this[string name] { get { return IsXmlDataNode ? _xmlNodeReader[name] : GetAttribute(name); } } 129public override string? this[string name, string? namespaceURI] { get { return IsXmlDataNode ? _xmlNodeReader[name, namespaceURI] : GetAttribute(name, namespaceURI); } } 134return _xmlNodeReader.MoveToFirstAttribute(); 145return _xmlNodeReader.MoveToNextAttribute(); 156_xmlNodeReader.MoveToAttribute(index); 175return _xmlNodeReader.GetAttribute(name, namespaceURI); 190return _xmlNodeReader.MoveToAttribute(name, _ns); 208return _xmlNodeReader.MoveToElement(); 231return _xmlNodeReader.LookupNamespace(prefix); 239_xmlNodeReader.Skip(); 277_xmlNodeReader.Dispose(); 353return _xmlNodeReader.Name; 366return _xmlNodeReader.HasValue; 379return _xmlNodeReader.BaseURI; 392return _xmlNodeReader.NameTable; 403return _xmlNodeReader.GetAttribute(name); 413return _xmlNodeReader.GetAttribute(i); 423return _xmlNodeReader.MoveToAttribute(name); 433_xmlNodeReader.ResolveEntity(); 445return _xmlNodeReader.ReadAttributeValue(); 595_xmlNodeReader.Read(); 596if (_xmlNodeReader.Depth == 0) 625_xmlNodeReader.Read();