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)
122
string s =
_reader
.Value;
199
if (
_reader
.NodeType == XmlNodeType.Attribute)
206
if (
_reader
.NodeType == XmlNodeType.Attribute)
213
_reader
.Close();
276
return
_reader
.IsStartElement(localName, namespaceURI);
289
switch (
_reader
.NodeType)
299
} while (!contentNode &&
_reader
.Read());
301
return
_reader
.NodeType;
330
while (
_reader
.Read())
333
if (Enum.TryParse(
_reader
.GetAttribute("OS"), out fontFamilyOsVersion)
355
if (
_reader
.MoveToFirstAttribute())
362
string name =
_reader
.LocalName;
384
} while (
_reader
.MoveToNextAttribute());
386
_reader
.MoveToElement();
390
if (
_reader
.IsEmptyElement)
393
_reader
.Read();
398
_reader
.Read();
403
if (
_reader
.NodeType == XmlNodeType.Element &&
_reader
.NamespaceURI == CompositeFontNamespace)
405
bool isEmpty =
_reader
.IsEmptyElement;
408
switch (
_reader
.LocalName)
412
_reader
.Read();
418
if (
_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();
495
if (
_reader
.MoveToFirstAttribute())
501
} while (
_reader
.MoveToNextAttribute());
503
_reader
.MoveToElement();
516
if (
_reader
.MoveToFirstAttribute())
520
if (
_reader
.NamespaceURI == XamlNamespace &&
_reader
.LocalName == KeyAttribute)
528
} while (
_reader
.MoveToNextAttribute());
530
_reader
.MoveToElement();
540
string familyName =
_reader
.ReadElementString();
559
if (
_reader
.IsEmptyElement)
561
_reader
.Read();
565
_reader
.Read();
569
if (
_reader
.NodeType == XmlNodeType.Element &&
_reader
.NamespaceURI == CompositeFontNamespace)
571
if (
_reader
.LocalName == DeviceFontCharacterMetricsPropertyElement)
575
if (
_reader
.IsEmptyElement)
577
_reader
.Read();
581
_reader
.Read();
586
if (
_reader
.LocalName == CharacterMetricsElement)
597
_reader
.ReadEndElement();
607
_reader
.Skip();
611
_reader
.ReadEndElement();
626
if (
_reader
.MoveToFirstAttribute())
633
string name =
_reader
.LocalName;
696
} while (
_reader
.MoveToNextAttribute());
698
_reader
.MoveToElement();
711
if (
_reader
.MoveToFirstAttribute())
715
if (
_reader
.NamespaceURI == XamlNamespace &&
_reader
.LocalName == KeyAttribute)
719
else if (IsCompositeFontAttribute() &&
_reader
.LocalName == MetricsAttribute)
727
} while (
_reader
.MoveToNextAttribute());
729
_reader
.MoveToElement();
756
if (
_reader
.MoveToFirstAttribute())
763
string name =
_reader
.LocalName;
790
} while (
_reader
.MoveToNextAttribute());
792
_reader
.MoveToElement();
807
if (
_reader
.IsEmptyElement)
809
_reader
.Read();
813
_reader
.Read();
817
if (
_reader
.NodeType == XmlNodeType.Element &&
_reader
.NamespaceURI == CompositeFontNamespace)
823
_reader
.Skip();
827
_reader
.ReadEndElement();
837
string ns =
_reader
.NamespaceURI;
849
string ns =
_reader
.NamespaceURI;
872
throw 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));
941
string fileName =
_reader
.BaseURI;