1 write to Reader
PresentationBuildTasks (1)
Base\System\Windows\Markup\XmlWrappingReader.cs (1)
50
Reader
= baseReader;
79 references to Reader
PresentationBuildTasks (79)
Base\System\Windows\Markup\XmlCompatibilityReader.cs (79)
73
Reader
.NameTable.Add(xmlNamespace);
182
bool more =
Reader
.Read(); //passed as ref arg to ReadStartElement and ReadEndElement
187
switch (
Reader
.NodeType)
233
int elementDepth =
Reader
.Depth;
235
bool isEmpty =
Reader
.IsEmptyElement;
244
string elementName =
Reader
.LocalName;
260
if (Scope.ShouldProcessContent(namespaceName,
Reader
.LocalName))
271
more =
Reader
.Read();
278
Reader
.Skip();
286
Error(SR.Get(SRID.XCRInvalidACChild),
Reader
.Name);
321
int elementDepth =
Reader
.Depth;
329
string elementName =
Reader
.LocalName;
341
more =
Reader
.Read();
350
Debug.Assert(Scope.ShouldProcessContent(namespaceName,
Reader
.LocalName));
353
more =
Reader
.Read();
381
result =
Reader
.GetAttribute(i);
389
result =
Reader
.Value;
413
result =
Reader
.GetAttribute(name);
422
result =
Reader
.Value;
450
result =
Reader
.GetAttribute(localName, namespaceURI);
470
Reader
.MoveToAttribute(i);
479
Reader
.MoveToFirstAttribute();
492
Reader
.MoveToNextAttribute();
513
result =
Reader
.MoveToAttribute(name);
519
result =
Reader
.MoveToAttribute(name);
550
result =
Reader
.MoveToAttribute(localName, namespaceURI);
556
result =
Reader
.MoveToAttribute(localName, namespaceURI);
599
result =
Reader
.MoveToNextAttribute();
605
result =
Reader
.MoveToNextAttribute();
634
string namespaceName =
Reader
.LookupNamespace(prefix);
658
if (String.Equals(XmlnsDeclaration,
Reader
.LocalName, StringComparison.Ordinal))
663
else if (String.Equals(XmlnsDeclaration,
Reader
.Prefix, StringComparison.Ordinal))
665
return LookupNamespace(
Reader
.LocalName);
668
return
Reader
.Value;
680
return GetMappedNamespace(
Reader
.NamespaceURI);
691
return
Reader
.Depth - _depthOffset;
713
return
Reader
.AttributeCount - _ignoredAttributeCount;
724
XmlTextReader xmlTextReader =
Reader
as XmlTextReader;
761
_inAttribute = (
Reader
.NodeType == XmlNodeType.Attribute);
762
_currentName =
Reader
.Name;
770
Reader
.MoveToAttribute(_currentName);
774
Reader
.MoveToElement();
1044
result =
Reader
.MoveToNextAttribute();
1069
bool onAttribute =
Reader
.MoveToFirstAttribute();
1088
string attributeName =
Reader
.LocalName;
1100
onAttribute =
Reader
.MoveToNextAttribute();
1111
Reader
.MoveToElement();
1175
Error(SR.Get(SRID.XCRInvalidACChild,
Reader
.Name));
1177
if (
Reader
.IsEmptyElement)
1189
more =
Reader
.Read();
1218
string requiresValue =
Reader
.GetAttribute(Requires);
1241
if (
Reader
.LocalName == Requires)
1245
string attributeName =
Reader
.LocalName;
1256
Reader
.Skip();
1293
more =
Reader
.Read();
1300
Reader
.Skip();
1348
string attributeName =
Reader
.LocalName;
1358
Reader
.Skip();
1363
if (!
Reader
.IsEmptyElement)
1370
more =
Reader
.Read();
1385
foreach (string namespaceUri in PrefixesToNamespaces(
Reader
.Value))
1396
Reader
.MoveToFirstAttribute();
1400
if (ShouldIgnoreNamespace(
Reader
.NamespaceURI))
1405
Reader
.MoveToNextAttribute();
1418
foreach (string namespaceUri in PrefixesToNamespaces(
Reader
.Value))
1440
foreach (NamespaceElementPair pair in ParseContentToNamespaceElementPair(
Reader
.Value, _processContent))
1455
foreach (NamespaceElementPair pair in ParseContentToNamespaceElementPair(
Reader
.Value, _preserveElements))
1470
foreach (NamespaceElementPair pair in ParseContentToNamespaceElementPair(
Reader
.Value, _preserveAttributes))
1481
IXmlLineInfo info =
Reader
as IXmlLineInfo;
1502
_alternateContent =
Reader
.NameTable.Add("AlternateContent");
1514
_choice =
Reader
.NameTable.Add("Choice");
1526
_fallback =
Reader
.NameTable.Add("Fallback");
1538
_requires =
Reader
.NameTable.Add("Requires");
1550
_ignorable =
Reader
.NameTable.Add("Ignorable");
1562
_mustUnderstand =
Reader
.NameTable.Add("MustUnderstand");
1574
_processContent =
Reader
.NameTable.Add("ProcessContent");
1586
_preserveElements =
Reader
.NameTable.Add("PreserveElements");
1598
_preserveAttributes =
Reader
.NameTable.Add("PreserveAttributes");
1610
_compatibilityUri =
Reader
.NameTable.Add(MarkupCompatibilityURI);