public override int Read(byte[] buffer, int offset, int count) { lock(this.l) { if (this.aborted) { this.Exception = new AbortException(); throw this.exception; } } return this.Stream.Read(buffer, offset, count); }