3 writes to _xamlReader
PresentationFramework (3)
MS\Internal\IO\Packaging\XamlFilter.cs (3)
356
_xamlReader
= new XmlNodeReader(_fixedPageDomTree.DocumentElement);
388
_xamlReader
= _topLevelReader;
821
_xamlReader
= new XmlTextReader(_xamlStream);
38 references to _xamlReader
PresentationFramework (38)
MS\Internal\IO\Packaging\XamlFilter.cs (38)
224
if (
_xamlReader
== null)
355
_topLevelReader =
_xamlReader
;
372
if (
_xamlReader
.EOF)
387
_xamlReader
.Close();
398
switch (
_xamlReader
.NodeType)
424
_xamlReader
.Read(); // Consume current token.
499
IndexingContentUnit result = BuildIndexingContentUnit(
_xamlReader
.Value, GetCurrentLcid());
500
_xamlReader
.Read(); // Move past data just processed.
507
_xamlReader
.Read(); // Skip data.
522
ElementTableKey elementFullName = new ElementTableKey(
_xamlReader
.NamespaceURI,
_xamlReader
.LocalName);
557
_xamlReader
.Read();
650
if (
_xamlReader
.IsEmptyElement)
655
_xamlReader
.Read();
661
_xamlReader
.Read(); // skip start-tag
677
_xamlReader
.Read();
717
_xamlReader
.Read();
729
string sourceUri =
_xamlReader
.GetAttribute(_pageContentSourceAttribute);
739
_xamlReader
.Read();
758
Debug.Assert(
_xamlReader
!= null);
760
string textContent =
_xamlReader
.GetAttribute(_unicodeStringAttribute);
780
Debug.Assert(string.Equals(
_xamlReader
.LocalName, _fixedPageName, StringComparison.Ordinal));
790
string fixedPageMarkup =
_xamlReader
.ReadOuterXml();
795
if (
_xamlReader
.XmlLang.Length > 0)
797
fixedPageTree.DocumentElement.SetAttribute(_xmlLangAttribute,
_xamlReader
.XmlLang);
817
if (
_xamlReader
!= null)
819
_xamlReader
.Close();
823
((XmlTextReader)
_xamlReader
).WhitespaceHandling = WhitespaceHandling.Significant;
831
if (
_xamlReader
!= null)
833
_xamlReader
.Close();
863
string languageString =
_xamlReader
.XmlLang;
877
_xamlReader
.Skip();
912
string value =
_xamlReader
.GetAttribute(propertyName);
918
bool attributeFound =
_xamlReader
.MoveToFirstAttribute();
923
if ( IsPrefixedPropertyName(
_xamlReader
.LocalName, out attributePropertyName)
926
value =
_xamlReader
.Value;
931
attributeFound =
_xamlReader
.MoveToNextAttribute();
934
_xamlReader
.MoveToElement();