5 private static readonly
char[]
s_WhitespaceChars =
new char[4] {
' ',
'\t',
'\n',
'\r' };
293 if (
text ==
"preserve")
297 if (
text ==
"default")
386 while (
o.parent !=
null)
438 return "http://www.w3.org/2000/xmlns/";
518 if (name ==
"PUBLIC")
522 if (name ==
"SYSTEM")
539 if (localName ==
"xmlns")
665 if (localName ==
"xmlns")
975 xmlNameTable.Add(
"http://www.w3.org/XML/1998/namespace");
1079 if (
d.content
is string { Length: >0 }
text)
1097 if (
text.Length > 0)
1142 if (
n.parent ==
null || (
n.parent.parent ==
null &&
n.parent
is XDocument))
static string InvalidOperation_ExpectedInteractive
IEnumerable< XElement > Descendants()
XNamespace? GetNamespaceOfPrefix(string prefix)
override XmlReaderSettings Settings
bool IsDuplicateNamespaceAttribute(XAttribute candidateAttribute)
bool ReadOverAttribute(XAttribute a, bool skipContent)
override bool MoveToNextAttribute()
static XmlNameTable CreateNameTable()
override int AttributeCount
XNodeReader(XNode node, XmlNameTable nameTable)
bool Read(bool skipContent)
XElement GetElementInAttributeScope()
override bool MoveToFirstAttribute()
static readonly char[] s_WhitespaceChars
XAttribute GetFirstNonDuplicateNamespaceAttribute(XAttribute candidate)
bool IsDuplicateNamespaceAttributeInner(XAttribute candidateAttribute)
XNodeReader(XNode node, XmlNameTable nameTable, ReaderOptions options)
override bool IsEmptyElement
override bool MoveToAttribute(string localName, string namespaceName)
override string NamespaceURI
override bool ReadToDescendant(string localName, string namespaceName)
static void GetNameInAttributeScope(string qualifiedName, XElement e, out string localName, out string namespaceName)
XElement GetElementInScope()
override bool HasAttributes
bool ReadIntoAttribute(XAttribute a)
override bool ReadToNextSibling(string localName, string namespaceName)
override bool MoveToElement()
readonly XmlNameTable _nameTable
bool ReadIntoDocument(XDocument d)
override XmlNameTable NameTable
override bool MoveToAttribute(string name)
override bool ReadToFollowing(string localName, string namespaceName)
override void Dispose(bool disposing)
override string LocalName
override XmlNodeType NodeType
override void MoveToAttribute(int index)
override string GetAttribute(int index)
readonly bool _omitDuplicateNamespaces
override string LookupNamespace(string prefix)
static int GetDepth(XObject o)
bool ReadOverNode(XNode n)
override void ResolveEntity()
override bool ReadAttributeValue()
bool ReadOverText(bool skipContent)
bool ReadIntoElement(XElement e)
override string GetAttribute(string localName, string namespaceName)
override string GetAttribute(string name)
IEnumerable< XElement > ElementsAfterSelf()
@ OmitDuplicateNamespaces