3 writes to _xamlReader
PresentationFramework (3)
MS\Internal\IO\Packaging\XamlFilter.cs (3)
350
_xamlReader
= new XmlNodeReader(_fixedPageDomTree.DocumentElement);
382
_xamlReader
= _topLevelReader;
815
_xamlReader
= new XmlTextReader(_xamlStream);
38 references to _xamlReader
PresentationFramework (38)
MS\Internal\IO\Packaging\XamlFilter.cs (38)
218
if (
_xamlReader
== null)
349
_topLevelReader =
_xamlReader
;
366
if (
_xamlReader
.EOF)
381
_xamlReader
.Close();
392
switch (
_xamlReader
.NodeType)
418
_xamlReader
.Read(); // Consume current token.
493
IndexingContentUnit result = BuildIndexingContentUnit(
_xamlReader
.Value, GetCurrentLcid());
494
_xamlReader
.Read(); // Move past data just processed.
501
_xamlReader
.Read(); // Skip data.
516
ElementTableKey elementFullName = new ElementTableKey(
_xamlReader
.NamespaceURI,
_xamlReader
.LocalName);
551
_xamlReader
.Read();
644
if (
_xamlReader
.IsEmptyElement)
649
_xamlReader
.Read();
655
_xamlReader
.Read(); // skip start-tag
671
_xamlReader
.Read();
711
_xamlReader
.Read();
723
string sourceUri =
_xamlReader
.GetAttribute(_pageContentSourceAttribute);
733
_xamlReader
.Read();
752
Debug.Assert(
_xamlReader
!= null);
754
string textContent =
_xamlReader
.GetAttribute(_unicodeStringAttribute);
774
Debug.Assert(string.Equals(
_xamlReader
.LocalName, _fixedPageName, StringComparison.Ordinal));
784
string fixedPageMarkup =
_xamlReader
.ReadOuterXml();
789
if (
_xamlReader
.XmlLang.Length > 0)
791
fixedPageTree.DocumentElement.SetAttribute(_xmlLangAttribute,
_xamlReader
.XmlLang);
811
if (
_xamlReader
!= null)
813
_xamlReader
.Close();
817
((XmlTextReader)
_xamlReader
).WhitespaceHandling = WhitespaceHandling.Significant;
825
if (
_xamlReader
!= null)
827
_xamlReader
.Close();
857
string languageString =
_xamlReader
.XmlLang;
871
_xamlReader
.Skip();
906
string value =
_xamlReader
.GetAttribute(propertyName);
912
bool attributeFound =
_xamlReader
.MoveToFirstAttribute();
917
if ( IsPrefixedPropertyName(
_xamlReader
.LocalName, out attributePropertyName)
920
value =
_xamlReader
.Value;
925
attributeFound =
_xamlReader
.MoveToNextAttribute();
928
_xamlReader
.MoveToElement();