public override void WriteDocType (string name, string pubid, string sysid, string intSubset) { CheckState (); throw new NotSupportedException ("This XmlDictionaryWriter does not support writing doctype declaration"); }