public override void WriteComment (string text) { CheckState (); throw new NotSupportedException ("This XmlDictionaryWriter does not support writing comment"); }