protected override void Dispose (bool disposing) { if (disposed) return; disposed = true; if (close_serial (fd) != 0) ThrowIOException(); }