public void Dispose() { if (this.compressedData != null) { for (int i = 0; i < this.compressedData.Count; i++) { CompressedDataState state = this.compressedData[i]; if (state.OwnsDataBuffer) { state.Dispose(); } } this.compressedData = null; } }