11 writes to charPos
mscorlib (11)
system\io\streamreader.cs (11)
290
charPos
= 0;
325
charPos
= 0;
380
charPos
++;
412
charPos
+= n;
439
charPos
= charLen; // Note we consumed these characters
568
charPos
= 0;
635
charPos
= 0;
713
charPos
= 0;
767
charPos
= i + 1;
769
if (charBuffer[charPos] == '\n')
charPos
++;
1135
set {
charPos
= value; }
21 references to charPos
mscorlib (21)
system\io\streamreader.cs (21)
343
if (
charPos
< charLen)
361
if (
charPos
== charLen)
365
return charBuffer[
charPos
];
376
if (
charPos
== charLen) {
379
int result = charBuffer[
charPos
];
406
int n = charLen -
charPos
;
411
Buffer.InternalBlockCopy(charBuffer,
charPos
* 2, buffer, (index + charsRead) * 2, n*2);
436
StringBuilder sb = new StringBuilder(charLen -
charPos
);
438
sb.Append(charBuffer,
charPos
, charLen -
charPos
);
746
if (
charPos
== charLen)
753
int i =
charPos
;
761
sb.Append(charBuffer,
charPos
, i -
charPos
);
765
s = new String(charBuffer,
charPos
, i -
charPos
);
768
if (ch == '\r' && (
charPos
< charLen || ReadBuffer() > 0)) {
769
if (charBuffer[
charPos
] == '\n') charPos++;
775
i = charLen -
charPos
;
777
sb.Append(charBuffer,
charPos
, i);
1134
get { return
charPos
; }