1 write to Reader
System.IO.Packaging (1)
System\IO\Packaging\XmlWrappingReader.cs (1)
22
Reader
= baseReader;
78 references to Reader
System.IO.Packaging (78)
System\IO\Packaging\XmlCompatibilityReader.cs (78)
40
Reader
.NameTable.Add(xmlNamespace);
148
bool more =
Reader
.Read(); //passed as ref arg to ReadStartElement and ReadEndElement
153
switch (
Reader
.NodeType)
199
int elementDepth =
Reader
.Depth;
201
bool isEmpty =
Reader
.IsEmptyElement;
210
string elementName =
Reader
.LocalName;
226
if (Scope.ShouldProcessContent(namespaceName,
Reader
.LocalName))
237
more =
Reader
.Read();
244
Reader
.Skip();
252
Error(SR.XCRInvalidACChild,
Reader
.Name);
287
int elementDepth =
Reader
.Depth;
295
string elementName =
Reader
.LocalName;
307
more =
Reader
.Read();
316
Debug.Assert(Scope.ShouldProcessContent(namespaceName,
Reader
.LocalName));
319
more =
Reader
.Read();
347
result =
Reader
.GetAttribute(i);
355
result =
Reader
.Value;
379
result =
Reader
.GetAttribute(name);
388
result =
Reader
.Value;
416
result =
Reader
.GetAttribute(localName, namespaceURI);
433
Reader
.MoveToAttribute(i);
442
Reader
.MoveToFirstAttribute();
455
Reader
.MoveToNextAttribute();
476
result =
Reader
.MoveToAttribute(name);
482
result =
Reader
.MoveToAttribute(name);
513
result =
Reader
.MoveToAttribute(localName, namespaceURI);
519
result =
Reader
.MoveToAttribute(localName, namespaceURI);
562
result =
Reader
.MoveToNextAttribute();
568
result =
Reader
.MoveToNextAttribute();
597
string? namespaceName =
Reader
.LookupNamespace(prefix);
622
if (string.Equals(XmlnsDeclaration,
Reader
.LocalName, StringComparison.Ordinal))
627
else if (string.Equals(XmlnsDeclaration,
Reader
.Prefix, StringComparison.Ordinal))
629
return LookupNamespace(
Reader
.LocalName);
632
return
Reader
.Value;
645
return GetMappedNamespace(
Reader
.NamespaceURI);
656
return
Reader
.Depth - _depthOffset;
678
return
Reader
.AttributeCount - _ignoredAttributeCount;
689
_inAttribute = (
Reader
.NodeType == XmlNodeType.Attribute);
690
_currentName =
Reader
.Name;
698
Reader
.MoveToAttribute(_currentName!);
702
Reader
.MoveToElement();
970
result =
Reader
.MoveToNextAttribute();
995
bool onAttribute =
Reader
.MoveToFirstAttribute();
1014
string attributeName =
Reader
.LocalName;
1026
onAttribute =
Reader
.MoveToNextAttribute();
1037
Reader
.MoveToElement();
1101
Error(SR.Format(SR.XCRInvalidACChild,
Reader
.Name));
1103
if (
Reader
.IsEmptyElement)
1115
more =
Reader
.Read();
1144
string? requiresValue =
Reader
.GetAttribute(Requires);
1167
if (
Reader
.LocalName == Requires)
1171
string attributeName =
Reader
.LocalName;
1182
Reader
.Skip();
1219
more =
Reader
.Read();
1226
Reader
.Skip();
1274
string attributeName =
Reader
.LocalName;
1284
Reader
.Skip();
1289
if (!
Reader
.IsEmptyElement)
1296
more =
Reader
.Read();
1311
foreach (string namespaceUri in PrefixesToNamespaces(
Reader
.Value))
1322
Reader
.MoveToFirstAttribute();
1326
if (ShouldIgnoreNamespace(
Reader
.NamespaceURI))
1331
Reader
.MoveToNextAttribute();
1344
foreach (string namespaceUri in PrefixesToNamespaces(
Reader
.Value))
1366
foreach (NamespaceElementPair pair in ParseContentToNamespaceElementPair(
Reader
.Value, _processContent))
1381
foreach (NamespaceElementPair pair in ParseContentToNamespaceElementPair(
Reader
.Value, _preserveElements))
1396
foreach (NamespaceElementPair pair in ParseContentToNamespaceElementPair(
Reader
.Value, _preserveAttributes))
1408
IXmlLineInfo? info =
Reader
as IXmlLineInfo;
1423
private string AlternateContent => _alternateContent ??=
Reader
.NameTable.Add("AlternateContent");
1425
private string Choice => _choice ??=
Reader
.NameTable.Add("Choice");
1427
private string Fallback => _fallback ??=
Reader
.NameTable.Add("Fallback");
1429
private string Requires => _requires ??=
Reader
.NameTable.Add("Requires");
1431
private string Ignorable => _ignorable ??=
Reader
.NameTable.Add("Ignorable");
1433
private string MustUnderstand => _mustUnderstand ??=
Reader
.NameTable.Add("MustUnderstand");
1435
private string ProcessContent => _processContent ??=
Reader
.NameTable.Add("ProcessContent");
1437
private string PreserveElements => _preserveElements ??=
Reader
.NameTable.Add("PreserveElements");
1439
private string PreserveAttributes => _preserveAttributes ??=
Reader
.NameTable.Add("PreserveAttributes");
1441
private string CompatibilityUri => _compatibilityUri ??=
Reader
.NameTable.Add(MarkupCompatibilityURI);