2 references to GetPrefixOfNamespace
System.Xml.Linq (2)
System\Xml\Linq\XLinq.cs (2)
7414
writer.WriteStartElement(
GetPrefixOfNamespace
(ns, true), element.Name.LocalName, ns.NamespaceName);
7419
writer.WriteAttributeString(
GetPrefixOfNamespace
(ns, false), localName, namespaceName.Length == 0 && localName == "xmlns" ? XNamespace.xmlnsPrefixNamespace : namespaceName, a.Value);