public override void WriteEntityRef(string name) { throw new Exception("The method or operation is not implemented."); }