Microsoft.R.Host.Client.RBlobStream.ThrowIfDisposed C# (CSharp) Method

ThrowIfDisposed() private method

private ThrowIfDisposed ( [ callerName = "" ) : void
callerName [
return void
        private void ThrowIfDisposed([CallerMemberName] string callerName = "") {
            if (_isDisposed) {
                throw new ObjectDisposedException(
                    Invariant($"{nameof(RBlobStream)} for Blob {_blob.Id} has been disposed, cannot call '{callerName}' after disposing."));
            }
        }