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