public new void Dispose() { if (DiposeInnerStreamOnDispose) { lock (streamLocker) _innerStream.Dispose(); } }