1 write to _stream
mscorlib (1)
system\security\cryptography\cryptostream.cs (1)
56_stream = stream;
19 references to _stream
mscorlib (19)
system\security\cryptography\cryptostream.cs (19)
62if (!(_stream.CanRead)) throw new ArgumentException(Environment.GetResourceString("Argument_StreamNotReadable"),"stream"); 66if (!(_stream.CanWrite)) throw new ArgumentException(Environment.GetResourceString("Argument_StreamNotWritable"),"stream"); 127_stream.Write(_OutputBuffer, 0, _OutputBufferIndex); 132_stream.Write(finalBytes, 0, finalBytes.Length); 135CryptoStream innerCryptoStream = _stream as CryptoStream; 141_stream.Flush(); 233amountRead += _stream.Read(tempInputBuffer, _InputBufferIndex, numWholeBlocksInBytes - _InputBufferIndex); 262amountRead = _stream.Read(_InputBuffer, _InputBufferIndex, _InputBlockSize - _InputBufferIndex); 407amountRead += await _stream.ReadAsync(tempInputBuffer, _InputBufferIndex, numWholeBlocksInBytes - _InputBufferIndex, cancellationToken).ConfigureAwait(false); 440amountRead = await _stream.ReadAsync(_InputBuffer, _InputBufferIndex, _InputBlockSize - _InputBufferIndex, cancellationToken).ConfigureAwait(false); 527_stream.Write(_OutputBuffer, 0, _OutputBufferIndex); 536_stream.Write(_OutputBuffer, 0, numOutputBytes); 549_stream.Write(_tempOutputBuffer, 0, numOutputBytes); 555_stream.Write(_OutputBuffer, 0, numOutputBytes); 643await _stream.WriteAsync(_OutputBuffer, 0, _OutputBufferIndex, cancellationToken).ConfigureAwait(false); 653await _stream.WriteAsync(_OutputBuffer, 0, numOutputBytes, cancellationToken).ConfigureAwait(false); 669await _stream.WriteAsync(_tempOutputBuffer, 0, numOutputBytes, cancellationToken).ConfigureAwait(false); 677await _stream.WriteAsync(_OutputBuffer, 0, numOutputBytes, cancellationToken).ConfigureAwait(false); 708_stream.Close();