1 write to Reader
System.IO.Packaging (1)
System\IO\Packaging\XmlWrappingReader.cs (1)
22Reader = baseReader;
78 references to Reader
System.IO.Packaging (78)
System\IO\Packaging\XmlCompatibilityReader.cs (78)
40Reader.NameTable.Add(xmlNamespace); 148bool more = Reader.Read(); //passed as ref arg to ReadStartElement and ReadEndElement 153switch (Reader.NodeType) 199int elementDepth = Reader.Depth; 201bool isEmpty = Reader.IsEmptyElement; 210string elementName = Reader.LocalName; 226if (Scope.ShouldProcessContent(namespaceName, Reader.LocalName)) 237more = Reader.Read(); 244Reader.Skip(); 252Error(SR.XCRInvalidACChild, Reader.Name); 287int elementDepth = Reader.Depth; 295string elementName = Reader.LocalName; 307more = Reader.Read(); 316Debug.Assert(Scope.ShouldProcessContent(namespaceName, Reader.LocalName)); 319more = Reader.Read(); 347result = Reader.GetAttribute(i); 355result = Reader.Value; 379result = Reader.GetAttribute(name); 388result = Reader.Value; 416result = Reader.GetAttribute(localName, namespaceURI); 433Reader.MoveToAttribute(i); 442Reader.MoveToFirstAttribute(); 455Reader.MoveToNextAttribute(); 476result = Reader.MoveToAttribute(name); 482result = Reader.MoveToAttribute(name); 513result = Reader.MoveToAttribute(localName, namespaceURI); 519result = Reader.MoveToAttribute(localName, namespaceURI); 562result = Reader.MoveToNextAttribute(); 568result = Reader.MoveToNextAttribute(); 597string? namespaceName = Reader.LookupNamespace(prefix); 622if (string.Equals(XmlnsDeclaration, Reader.LocalName, StringComparison.Ordinal)) 627else if (string.Equals(XmlnsDeclaration, Reader.Prefix, StringComparison.Ordinal)) 629return LookupNamespace(Reader.LocalName); 632return Reader.Value; 645return GetMappedNamespace(Reader.NamespaceURI); 656return Reader.Depth - _depthOffset; 678return Reader.AttributeCount - _ignoredAttributeCount; 689_inAttribute = (Reader.NodeType == XmlNodeType.Attribute); 690_currentName = Reader.Name; 698Reader.MoveToAttribute(_currentName!); 702Reader.MoveToElement(); 970result = Reader.MoveToNextAttribute(); 995bool onAttribute = Reader.MoveToFirstAttribute(); 1014string attributeName = Reader.LocalName; 1026onAttribute = Reader.MoveToNextAttribute(); 1037Reader.MoveToElement(); 1101Error(SR.Format(SR.XCRInvalidACChild, Reader.Name)); 1103if (Reader.IsEmptyElement) 1115more = Reader.Read(); 1144string? requiresValue = Reader.GetAttribute(Requires); 1167if (Reader.LocalName == Requires) 1171string attributeName = Reader.LocalName; 1182Reader.Skip(); 1219more = Reader.Read(); 1226Reader.Skip(); 1274string attributeName = Reader.LocalName; 1284Reader.Skip(); 1289if (!Reader.IsEmptyElement) 1296more = Reader.Read(); 1311foreach (string namespaceUri in PrefixesToNamespaces(Reader.Value)) 1322Reader.MoveToFirstAttribute(); 1326if (ShouldIgnoreNamespace(Reader.NamespaceURI)) 1331Reader.MoveToNextAttribute(); 1344foreach (string namespaceUri in PrefixesToNamespaces(Reader.Value)) 1366foreach (NamespaceElementPair pair in ParseContentToNamespaceElementPair(Reader.Value, _processContent)) 1381foreach (NamespaceElementPair pair in ParseContentToNamespaceElementPair(Reader.Value, _preserveElements)) 1396foreach (NamespaceElementPair pair in ParseContentToNamespaceElementPair(Reader.Value, _preserveAttributes)) 1408IXmlLineInfo? info = Reader as IXmlLineInfo; 1423private string AlternateContent => _alternateContent ??= Reader.NameTable.Add("AlternateContent"); 1425private string Choice => _choice ??= Reader.NameTable.Add("Choice"); 1427private string Fallback => _fallback ??= Reader.NameTable.Add("Fallback"); 1429private string Requires => _requires ??= Reader.NameTable.Add("Requires"); 1431private string Ignorable => _ignorable ??= Reader.NameTable.Add("Ignorable"); 1433private string MustUnderstand => _mustUnderstand ??= Reader.NameTable.Add("MustUnderstand"); 1435private string ProcessContent => _processContent ??= Reader.NameTable.Add("ProcessContent"); 1437private string PreserveElements => _preserveElements ??= Reader.NameTable.Add("PreserveElements"); 1439private string PreserveAttributes => _preserveAttributes ??= Reader.NameTable.Add("PreserveAttributes"); 1441private string CompatibilityUri => _compatibilityUri ??= Reader.NameTable.Add(MarkupCompatibilityURI);