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