{
#region Constructors
- protected internal XmlComment (string comment, XmlDocument doc) : base(comment, doc) { }
+ protected internal XmlComment (string comment, XmlDocument doc)
+ : base (comment, doc)
+ {
+ }
#endregion
public override XmlNode CloneNode (bool deep)
{
- return new XmlComment(Value, OwnerDocument);
+ // discard deep because Comments have no children.
+ return new XmlComment(Value, OwnerDocument);
}
public override void WriteContentTo (XmlWriter w) { }