6 writes to bytePos
mscorlib (6)
system\io\streamreader.cs (6)
253
bytePos
= 0;
543
for(int i=0; i<len; i++,
bytePos
++) {
545
bytePos
= 0;
557
bytePos
= 0;
585
bytePos
= byteLen = 0;
1145
set {
bytePos
= value; }
16 references to bytePos
mscorlib (16)
system\io\streamreader.cs (16)
540
Contract.Assert(
bytePos
<= _preamble.Length, "_compressPreamble was called with the current bytePos greater than the preamble buffer length. Are two threads using this StreamReader at the same time?");
541
int len = (byteLen >= (_preamble.Length))? (_preamble.Length -
bytePos
) : (byteLen -
bytePos
);
544
if (byteBuffer[
bytePos
] != _preamble[
bytePos
]) {
551
Contract.Assert(
bytePos
<= _preamble.Length, "possible bug in _compressPreamble. Are two threads using this StreamReader at the same time?");
554
if (
bytePos
== _preamble.Length) {
574
Contract.Assert(
bytePos
<= _preamble.Length, "possible bug in _compressPreamble. Are two threads using this StreamReader at the same time?");
575
int len = stream.Read(byteBuffer,
bytePos
, byteBuffer.Length -
bytePos
);
594
Contract.Assert(
bytePos
== 0, "bytePos can be non zero only when we are trying to _checkPreamble. Are two threads using this StreamReader at the same time?");
659
Contract.Assert(
bytePos
<= _preamble.Length, "possible bug in _compressPreamble. Are two threads using this StreamReader at the same time?");
660
int len = stream.Read(byteBuffer,
bytePos
, byteBuffer.Length -
bytePos
);
683
Contract.Assert(
bytePos
== 0, "bytePos can be non zero only when we are trying to _checkPreamble. Are two threads using this StreamReader at the same time?");
1144
get { return
bytePos
; }