7 writes to charPos
mscorlib (7)
system\io\streamwriter.cs (7)
314
charPos
= 0;
363
charPos
++;
386
charPos
+= n;
414
charPos
+= n;
438
charPos
+= n;
813
set { this.
charPos
= value; }
830
this.
charPos
= 0;
31 references to charPos
mscorlib (31)
system\io\streamwriter.cs (31)
303
if (
charPos
==0 && ((!flushStream && !flushEncoder) || CompatibilitySwitches.IsAppEarlierThanWindowsPhone8))
313
int count = encoder.GetBytes(charBuffer, 0,
charPos
, byteBuffer, 0, flushEncoder);
361
if (
charPos
== charLen) Flush(false, false);
362
charBuffer[
charPos
] = value;
381
if (
charPos
== charLen) Flush(false, false);
382
int n = charLen -
charPos
;
385
Buffer.InternalBlockCopy(buffer, index * sizeof(char), charBuffer,
charPos
* sizeof(char), n * sizeof(char));
409
if (
charPos
== charLen) Flush(false, false);
410
int n = charLen -
charPos
;
413
Buffer.InternalBlockCopy(buffer, index * sizeof(char), charBuffer,
charPos
* sizeof(char), n * sizeof(char));
433
if (
charPos
== charLen) Flush(false, false);
434
int n = charLen -
charPos
;
437
value.CopyTo(index, charBuffer,
charPos
, n);
464
Task task = WriteAsyncInternal(this, value, charBuffer,
charPos
, charLen, CoreNewLine, autoFlush, appendNewLine: false);
479
Contract.Assert(_this.
charPos
== 0);
492
Contract.Assert(_this.
charPos
== 0);
503
Contract.Assert(_this.
charPos
== 0);
528
Task task = WriteAsyncInternal(this, value, charBuffer,
charPos
, charLen, CoreNewLine, autoFlush, appendNewLine: false);
555
Contract.Assert(_this.
charPos
== 0);
578
Contract.Assert(_this.
charPos
== 0);
589
Contract.Assert(_this.
charPos
== 0);
622
Task task = WriteAsyncInternal(this, buffer, index, count, charBuffer,
charPos
, charLen, CoreNewLine, autoFlush, appendNewLine: false);
644
Contract.Assert(_this.
charPos
== 0);
666
Contract.Assert(_this.
charPos
== 0);
677
Contract.Assert(_this.
charPos
== 0);
700
Task task = WriteAsyncInternal(this, null, 0, 0, charBuffer,
charPos
, charLen, CoreNewLine, autoFlush, appendNewLine: true);
723
Task task = WriteAsyncInternal(this, value, charBuffer,
charPos
, charLen, CoreNewLine, autoFlush, appendNewLine: true);
746
Task task = WriteAsyncInternal(this, value, charBuffer,
charPos
, charLen, CoreNewLine, autoFlush, appendNewLine: true);
779
Task task = WriteAsyncInternal(this, buffer, index, count, charBuffer,
charPos
, charLen, CoreNewLine, autoFlush, appendNewLine: true);
806
Task task = FlushAsyncInternal(true, true, charBuffer,
charPos
);
883
if (streamWriter.
charPos
!= 0 && streamWriter.stream != null && streamWriter.stream != Stream.Null) {