public void RollbackTransaction() { lock (this) this.transactions.Remove(current); long trtime = Interlocked.Increment(ref this.time); Interlocked.Increment(ref this.time); current.Rollback(trtime); current = null; }