2 writes to _reader
PresentationCore (2)
MS\Internal\FontFace\CompositeFontParser.cs (2)
169_reader = CreateXmlReader(fileStream); 214_reader = null;
84 references to _reader
PresentationCore (84)
MS\Internal\FontFace\CompositeFontParser.cs (84)
122string s = _reader.Value; 199if (_reader.NodeType == XmlNodeType.Attribute) 206if (_reader.NodeType == XmlNodeType.Attribute) 213_reader.Close(); 276return _reader.IsStartElement(localName, namespaceURI); 289switch (_reader.NodeType) 299} while (!contentNode && _reader.Read()); 301return _reader.NodeType; 330while (_reader.Read()) 333if (Enum.TryParse(_reader.GetAttribute("OS"), out fontFamilyOsVersion) 355if (_reader.MoveToFirstAttribute()) 362string name = _reader.LocalName; 384} while (_reader.MoveToNextAttribute()); 386_reader.MoveToElement(); 390if (_reader.IsEmptyElement) 393_reader.Read(); 398_reader.Read(); 403if (_reader.NodeType == XmlNodeType.Element && _reader.NamespaceURI == CompositeFontNamespace) 405bool isEmpty = _reader.IsEmptyElement; 408switch (_reader.LocalName) 412_reader.Read(); 418if (_reader.LocalName == StringElement && IsSystemNamespace(_reader.NamespaceURI)) 432_reader.ReadEndElement(); 438_reader.Read(); 450_reader.ReadEndElement(); 456_reader.Read(); 468_reader.ReadEndElement(); 481_reader.Skip(); 487_reader.ReadEndElement(); 495if (_reader.MoveToFirstAttribute()) 501} while (_reader.MoveToNextAttribute()); 503_reader.MoveToElement(); 516if (_reader.MoveToFirstAttribute()) 520if (_reader.NamespaceURI == XamlNamespace && _reader.LocalName == KeyAttribute) 528} while (_reader.MoveToNextAttribute()); 530_reader.MoveToElement(); 540string familyName = _reader.ReadElementString(); 559if (_reader.IsEmptyElement) 561_reader.Read(); 565_reader.Read(); 569if (_reader.NodeType == XmlNodeType.Element && _reader.NamespaceURI == CompositeFontNamespace) 571if (_reader.LocalName == DeviceFontCharacterMetricsPropertyElement) 575if (_reader.IsEmptyElement) 577_reader.Read(); 581_reader.Read(); 586if (_reader.LocalName == CharacterMetricsElement) 597_reader.ReadEndElement(); 607_reader.Skip(); 611_reader.ReadEndElement(); 626if (_reader.MoveToFirstAttribute()) 633string name = _reader.LocalName; 696} while (_reader.MoveToNextAttribute()); 698_reader.MoveToElement(); 711if (_reader.MoveToFirstAttribute()) 715if (_reader.NamespaceURI == XamlNamespace && _reader.LocalName == KeyAttribute) 719else if (IsCompositeFontAttribute() && _reader.LocalName == MetricsAttribute) 727} while (_reader.MoveToNextAttribute()); 729_reader.MoveToElement(); 756if (_reader.MoveToFirstAttribute()) 763string name = _reader.LocalName; 790} while (_reader.MoveToNextAttribute()); 792_reader.MoveToElement(); 807if (_reader.IsEmptyElement) 809_reader.Read(); 813_reader.Read(); 817if (_reader.NodeType == XmlNodeType.Element && _reader.NamespaceURI == CompositeFontNamespace) 823_reader.Skip(); 827_reader.ReadEndElement(); 837string ns = _reader.NamespaceURI; 849string ns = _reader.NamespaceURI; 872throw new FileFormatException(new Uri(_reader.BaseURI, UriKind.RelativeOrAbsolute), x); 882_reader.LocalName)); 892_reader.LocalName, 904_reader.LocalName, 905_reader.NamespaceURI)); 915_reader.LocalName, 916_reader.NamespaceURI)); 941string fileName = _reader.BaseURI;