1 write to Reader
WindowsBase (1)
Base\System\Windows\Markup\XmlWrappingReader.cs (1)
50Reader = baseReader;
80 references to Reader
WindowsBase (80)
Base\System\Windows\Markup\XmlCompatibilityReader.cs (80)
73Reader.NameTable.Add(xmlNamespace); 182bool more = Reader.Read(); //passed as ref arg to ReadStartElement and ReadEndElement 187switch (Reader.NodeType) 233int elementDepth = Reader.Depth; 235bool isEmpty = Reader.IsEmptyElement; 244string elementName = Reader.LocalName; 260if (Scope.ShouldProcessContent(namespaceName, Reader.LocalName)) 271more = Reader.Read(); 278Reader.Skip(); 286Error(SR.Get(SRID.XCRInvalidACChild), Reader.Name); 321int elementDepth = Reader.Depth; 329string elementName = Reader.LocalName; 341more = Reader.Read(); 350Debug.Assert(Scope.ShouldProcessContent(namespaceName, Reader.LocalName)); 353more = Reader.Read(); 381result = Reader.GetAttribute(i); 389result = Reader.Value; 413result = Reader.GetAttribute(name); 422result = Reader.Value; 450result = Reader.GetAttribute(localName, namespaceURI); 470Reader.MoveToAttribute(i); 479Reader.MoveToFirstAttribute(); 492Reader.MoveToNextAttribute(); 513result = Reader.MoveToAttribute(name); 519result = Reader.MoveToAttribute(name); 550result = Reader.MoveToAttribute(localName, namespaceURI); 556result = Reader.MoveToAttribute(localName, namespaceURI); 599result = Reader.MoveToNextAttribute(); 605result = Reader.MoveToNextAttribute(); 634string namespaceName = Reader.LookupNamespace(prefix); 658if (String.Equals(XmlnsDeclaration, Reader.LocalName, StringComparison.Ordinal)) 663else if (String.Equals(XmlnsDeclaration, Reader.Prefix, StringComparison.Ordinal)) 665return LookupNamespace(Reader.LocalName); 668return Reader.Value; 680return GetMappedNamespace(Reader.NamespaceURI); 691return Reader.Depth - _depthOffset; 713return Reader.AttributeCount - _ignoredAttributeCount; 724XmlTextReader xmlTextReader = Reader as XmlTextReader; 742XmlTextReader textReader = Reader as XmlTextReader; 761_inAttribute = (Reader.NodeType == XmlNodeType.Attribute); 762_currentName = Reader.Name; 770Reader.MoveToAttribute(_currentName); 774Reader.MoveToElement(); 1044result = Reader.MoveToNextAttribute(); 1069bool onAttribute = Reader.MoveToFirstAttribute(); 1088string attributeName = Reader.LocalName; 1100onAttribute = Reader.MoveToNextAttribute(); 1111Reader.MoveToElement(); 1175Error(SR.Get(SRID.XCRInvalidACChild, Reader.Name)); 1177if (Reader.IsEmptyElement) 1189more = Reader.Read(); 1218string requiresValue = Reader.GetAttribute(Requires); 1241if (Reader.LocalName == Requires) 1245string attributeName = Reader.LocalName; 1256Reader.Skip(); 1293more = Reader.Read(); 1300Reader.Skip(); 1348string attributeName = Reader.LocalName; 1358Reader.Skip(); 1363if (!Reader.IsEmptyElement) 1370more = Reader.Read(); 1385foreach (string namespaceUri in PrefixesToNamespaces(Reader.Value)) 1396Reader.MoveToFirstAttribute(); 1400if (ShouldIgnoreNamespace(Reader.NamespaceURI)) 1405Reader.MoveToNextAttribute(); 1418foreach (string namespaceUri in PrefixesToNamespaces(Reader.Value)) 1440foreach (NamespaceElementPair pair in ParseContentToNamespaceElementPair(Reader.Value, _processContent)) 1455foreach (NamespaceElementPair pair in ParseContentToNamespaceElementPair(Reader.Value, _preserveElements)) 1470foreach (NamespaceElementPair pair in ParseContentToNamespaceElementPair(Reader.Value, _preserveAttributes)) 1481IXmlLineInfo info = Reader as IXmlLineInfo; 1502_alternateContent = Reader.NameTable.Add("AlternateContent"); 1514_choice = Reader.NameTable.Add("Choice"); 1526_fallback = Reader.NameTable.Add("Fallback"); 1538_requires = Reader.NameTable.Add("Requires"); 1550_ignorable = Reader.NameTable.Add("Ignorable"); 1562_mustUnderstand = Reader.NameTable.Add("MustUnderstand"); 1574_processContent = Reader.NameTable.Add("ProcessContent"); 1586_preserveElements = Reader.NameTable.Add("PreserveElements"); 1598_preserveAttributes = Reader.NameTable.Add("PreserveAttributes"); 1610_compatibilityUri = Reader.NameTable.Add(MarkupCompatibilityURI);