2 writes to _reader
PresentationCore (2)
Core\CSharp\MS\Internal\FontFace\CompositeFontParser.cs (2)
183
_reader
= CreateXmlReader(fileStream);
228
_reader
= null;
84 references to _reader
PresentationCore (84)
Core\CSharp\MS\Internal\FontFace\CompositeFontParser.cs (84)
136
string s =
_reader
.Value;
213
if (
_reader
.NodeType == XmlNodeType.Attribute)
220
if (
_reader
.NodeType == XmlNodeType.Attribute)
227
_reader
.Close();
290
return
_reader
.IsStartElement(localName, namespaceURI);
303
switch (
_reader
.NodeType)
313
} while (!contentNode &&
_reader
.Read());
315
return
_reader
.NodeType;
346
while (
_reader
.Read())
349
if (Enum.TryParse(
_reader
.GetAttribute("OS"), out fontFamilyOsVersion)
371
if (
_reader
.MoveToFirstAttribute())
378
string name =
_reader
.LocalName;
401
} while (
_reader
.MoveToNextAttribute());
403
_reader
.MoveToElement();
407
if (
_reader
.IsEmptyElement)
410
_reader
.Read();
415
_reader
.Read();
420
if (
_reader
.NodeType == XmlNodeType.Element &&
_reader
.NamespaceURI == CompositeFontNamespace)
422
bool isEmpty =
_reader
.IsEmptyElement;
425
switch (
_reader
.LocalName)
429
_reader
.Read();
435
if (
_reader
.LocalName == StringElement && IsSystemNamespace(
_reader
.NamespaceURI))
449
_reader
.ReadEndElement();
455
_reader
.Read();
467
_reader
.ReadEndElement();
473
_reader
.Read();
485
_reader
.ReadEndElement();
498
_reader
.Skip();
504
_reader
.ReadEndElement();
512
if (
_reader
.MoveToFirstAttribute())
519
} while (
_reader
.MoveToNextAttribute());
521
_reader
.MoveToElement();
534
if (
_reader
.MoveToFirstAttribute())
538
if (
_reader
.NamespaceURI == XamlNamespace &&
_reader
.LocalName == KeyAttribute)
547
} while (
_reader
.MoveToNextAttribute());
549
_reader
.MoveToElement();
559
string familyName =
_reader
.ReadElementString();
578
if (
_reader
.IsEmptyElement)
580
_reader
.Read();
584
_reader
.Read();
588
if (
_reader
.NodeType == XmlNodeType.Element &&
_reader
.NamespaceURI == CompositeFontNamespace)
590
if (
_reader
.LocalName == DeviceFontCharacterMetricsPropertyElement)
594
if (
_reader
.IsEmptyElement)
596
_reader
.Read();
600
_reader
.Read();
605
if (
_reader
.LocalName == CharacterMetricsElement)
616
_reader
.ReadEndElement();
626
_reader
.Skip();
630
_reader
.ReadEndElement();
645
if (
_reader
.MoveToFirstAttribute())
652
string name =
_reader
.LocalName;
716
} while (
_reader
.MoveToNextAttribute());
718
_reader
.MoveToElement();
731
if (
_reader
.MoveToFirstAttribute())
735
if (
_reader
.NamespaceURI == XamlNamespace &&
_reader
.LocalName == KeyAttribute)
739
else if (IsCompositeFontAttribute() &&
_reader
.LocalName == MetricsAttribute)
747
} while (
_reader
.MoveToNextAttribute());
749
_reader
.MoveToElement();
776
if (
_reader
.MoveToFirstAttribute())
783
string name =
_reader
.LocalName;
811
} while (
_reader
.MoveToNextAttribute());
813
_reader
.MoveToElement();
828
if (
_reader
.IsEmptyElement)
830
_reader
.Read();
834
_reader
.Read();
838
if (
_reader
.NodeType == XmlNodeType.Element &&
_reader
.NamespaceURI == CompositeFontNamespace)
844
_reader
.Skip();
848
_reader
.ReadEndElement();
858
string ns =
_reader
.NamespaceURI;
870
string ns =
_reader
.NamespaceURI;
893
throw new FileFormatException(new Uri(
_reader
.BaseURI, UriKind.RelativeOrAbsolute), x);
903
_reader
.LocalName));
913
_reader
.LocalName,
925
_reader
.LocalName,
926
_reader
.NamespaceURI));
936
_reader
.LocalName,
937
_reader
.NamespaceURI));
962
string fileName =
_reader
.BaseURI;