15 writes to _OutputBufferIndex
mscorlib (15)
system\security\cryptography\cryptostream.cs (15)
128
_OutputBufferIndex
= 0;
203
_OutputBufferIndex
= 0;
207
_OutputBufferIndex
-= count;
275
_OutputBufferIndex
= numOutputBytes - bytesToDeliver;
288
_OutputBufferIndex
= finalBytes.Length;
294
_OutputBufferIndex
-= bytesToDeliver;
300
_OutputBufferIndex
= 0;
373
_OutputBufferIndex
= 0;
379
_OutputBufferIndex
-= count;
456
_OutputBufferIndex
= numOutputBytes - bytesToDeliver;
469
_OutputBufferIndex
= finalBytes.Length;
476
_OutputBufferIndex
-= bytesToDeliver;
484
_OutputBufferIndex
= 0;
528
_OutputBufferIndex
= 0;
644
_OutputBufferIndex
= 0;
28 references to _OutputBufferIndex
mscorlib (28)
system\security\cryptography\cryptostream.cs (28)
126
if (_canWrite &&
_OutputBufferIndex
> 0) {
127
_stream.Write(_OutputBuffer, 0,
_OutputBufferIndex
);
197
if (
_OutputBufferIndex
!= 0) {
199
if (
_OutputBufferIndex
<= count) {
200
Buffer.InternalBlockCopy(_OutputBuffer, 0, buffer, offset,
_OutputBufferIndex
);
201
bytesToDeliver -=
_OutputBufferIndex
;
202
currentOutputIndex +=
_OutputBufferIndex
;
206
Buffer.InternalBlockCopy(_OutputBuffer, count, _OutputBuffer, 0,
_OutputBufferIndex
- count);
276
Buffer.InternalBlockCopy(_OutputBuffer, bytesToDeliver, _OutputBuffer, 0,
_OutputBufferIndex
);
292
if (bytesToDeliver <
_OutputBufferIndex
) {
295
Buffer.InternalBlockCopy(_OutputBuffer, bytesToDeliver, _OutputBuffer, 0,
_OutputBufferIndex
);
298
Buffer.InternalBlockCopy(_OutputBuffer, 0, buffer, currentOutputIndex,
_OutputBufferIndex
);
299
bytesToDeliver -=
_OutputBufferIndex
;
365
if (
_OutputBufferIndex
!= 0)
368
if (
_OutputBufferIndex
<= count)
370
Buffer.InternalBlockCopy(_OutputBuffer, 0, buffer, offset,
_OutputBufferIndex
);
371
bytesToDeliver -=
_OutputBufferIndex
;
372
currentOutputIndex +=
_OutputBufferIndex
;
378
Buffer.InternalBlockCopy(_OutputBuffer, count, _OutputBuffer, 0,
_OutputBufferIndex
- count);
457
Buffer.InternalBlockCopy(_OutputBuffer, bytesToDeliver, _OutputBuffer, 0,
_OutputBufferIndex
);
473
if (bytesToDeliver <
_OutputBufferIndex
)
477
Buffer.InternalBlockCopy(_OutputBuffer, bytesToDeliver, _OutputBuffer, 0,
_OutputBufferIndex
);
482
Buffer.InternalBlockCopy(_OutputBuffer, 0, buffer, currentOutputIndex,
_OutputBufferIndex
);
483
bytesToDeliver -=
_OutputBufferIndex
;
526
if (
_OutputBufferIndex
> 0) {
527
_stream.Write(_OutputBuffer, 0,
_OutputBufferIndex
);
641
if (
_OutputBufferIndex
> 0)
643
await _stream.WriteAsync(_OutputBuffer, 0,
_OutputBufferIndex
, cancellationToken).ConfigureAwait(false);