4 references to Argument_AddNode
System.Private.Xml.Linq (4)
System\Xml\Linq\XDocument.cs (2)
918
throw new ArgumentException(SR.Format(SR.
Argument_AddNode
, XmlNodeType.CDATA));
920
throw new ArgumentException(SR.Format(SR.
Argument_AddNode
, XmlNodeType.Document));
System\Xml\Linq\XElement.cs (2)
2125
if (node is XDocument) throw new ArgumentException(SR.Format(SR.
Argument_AddNode
, XmlNodeType.Document));
2126
if (node is XDocumentType) throw new ArgumentException(SR.Format(SR.
Argument_AddNode
, XmlNodeType.DocumentType));