5 references to xmlnsNamespace
System.Private.DataContractSerialization (5)
System\Runtime\Serialization\Json\XmlJsonWriter.cs (5)
712
if (ns != null && ns !=
xmlnsNamespace
)
714
throw new ArgumentException(SR.Format(SR.XmlPrefixBoundToNamespace, "xmlns",
xmlnsNamespace
, ns), nameof(ns));
724
if (IsWritingNameWithMapping && ns ==
xmlnsNamespace
&& localName != JsonGlobals.xmlnsPrefix)
731
if (IsWritingNameWithMapping && ns ==
xmlnsNamespace
)
735
else if (string.IsNullOrEmpty(prefix) && localName == JsonGlobals.xmlnsPrefix && ns ==
xmlnsNamespace
)