FrameworkFork\Microsoft.Xml\Xml\Core\XmlWellformedWriter.cs (17)
277_nsStack[0].Set("xmlns", XmlReservedNs.NsXmlNs, NamespaceKind.Special);
278_nsStack[1].Set("xml", XmlReservedNs.NsXml, NamespaceKind.Special);
653if (!(localName == "xmlns" && namespaceName == XmlReservedNs.NsXmlNs))
677if (namespaceName.Length > 0 && namespaceName != XmlReservedNs.NsXmlNs)
700if (namespaceName.Length > 0 && namespaceName != XmlReservedNs.NsXmlNs)
710if (namespaceName.Length > 0 && namespaceName != XmlReservedNs.NsXml)
797_writer.WriteStartAttribute(string.Empty, "xmlns", XmlReservedNs.NsXmlNs);
810if (value == XmlReservedNs.NsXmlNs || (value == XmlReservedNs.NsXml && _curDeclPrefix != "xml"))
831_writer.WriteStartAttribute("xmlns", _curDeclPrefix, XmlReservedNs.NsXmlNs);
854_writer.WriteStartAttribute("xml", "space", XmlReservedNs.NsXml);
861_writer.WriteStartAttribute("xml", "lang", XmlReservedNs.NsXml);
1740if ((ns == XmlReservedNs.NsXml && prefix != "xml") ||
1741(ns == XmlReservedNs.NsXmlNs && prefix != "xmlns"))
1824if ((ns == XmlReservedNs.NsXml && prefix != "xml") ||
1825(ns == XmlReservedNs.NsXmlNs && prefix != "xmlns"))
1833if (ns != XmlReservedNs.NsXml)
FrameworkFork\Microsoft.Xml\Xml\schema\DatatypeImplementation.cs (10)
121internal static XmlQualifiedName QnAnySimpleType = new XmlQualifiedName("anySimpleType", XmlReservedNs.NsXs);
122internal static XmlQualifiedName QnAnyType = new XmlQualifiedName("anyType", XmlReservedNs.NsXs);
235qname = new XmlQualifiedName(sdm.Name, XmlReservedNs.NsXs);
251qname = new XmlQualifiedName(sdm.Name, XmlReservedNs.NsXs);
271XmlSchemaSimpleType derivedType = (XmlSchemaSimpleType)s_builtinTypes[new XmlQualifiedName(sdm.Name, XmlReservedNs.NsXs)];
280baseType = (XmlSchemaSimpleType)s_builtinTypes[new XmlQualifiedName(((SchemaDatatypeMap)(s_xsdTypes[sdm.ParentIndex])).Name, XmlReservedNs.NsXs)];
286qname = new XmlQualifiedName("anyAtomicType", XmlReservedNs.NsXQueryDataType);
294qname = new XmlQualifiedName("untypedAtomic", XmlReservedNs.NsXQueryDataType);
302qname = new XmlQualifiedName("yearMonthDuration", XmlReservedNs.NsXQueryDataType);
310qname = new XmlQualifiedName("dayTimeDuration", XmlReservedNs.NsXQueryDataType);