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