8 references to XopIncludeNamespace
System.Runtime.Serialization (8)
System\Xml\XmlMtomReader.cs (5)
285
if (xmlReader.IsStartElement(MtomGlobals.XopIncludeLocalName, MtomGlobals.
XopIncludeNamespace
))
292
else if (xmlReader.NamespaceURI == MtomGlobals.
XopIncludeNamespace
)
293
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.MtomXopIncludeInvalidXopAttributes, xmlReader.LocalName, MtomGlobals.
XopIncludeNamespace
)));
318
if (xmlReader.IsStartElement() && xmlReader.NamespaceURI == MtomGlobals.
XopIncludeNamespace
)
319
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.MtomXopIncludeInvalidXopElement, xmlReader.LocalName, MtomGlobals.
XopIncludeNamespace
)));
System\Xml\XmlMtomWriter.cs (3)
217
if (localName == MtomGlobals.XopIncludeLocalName && ns == MtomGlobals.
XopIncludeNamespace
)
218
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.MtomDataMustNotContainXopInclude, MtomGlobals.XopIncludeLocalName, MtomGlobals.
XopIncludeNamespace
)));
352
Writer.WriteStartElement(MtomGlobals.XopIncludePrefix, MtomGlobals.XopIncludeLocalName, MtomGlobals.
XopIncludeNamespace
);