private void DisposeStreamProxy() { if (_streamProxy != null) { _streamProxy.Dispose(); _streamProxy = null; } }
protected override void Dispose(bool disposing) { if (streamProxy != null) { streamProxy.Dispose(); streamProxy = null; } base.Dispose(disposing); }
protected override unsafe void Dispose(bool disposing) { base.Dispose(disposing); if (streamProxy != null) { streamProxy.Dispose(); streamProxy = null; } if (randomAccessStreamCom != null) { randomAccessStreamCom.Dispose(); randomAccessStreamCom = null; } }