6 writes to _incReadDecoder
System.Private.Xml (6)
System\Xml\Core\XmlTextReaderImpl.cs (6)
2215
_incReadDecoder
= _readCharsDecoder;
8126
_incReadDecoder
= decoder;
8526
_incReadDecoder
= new IncrementalReadDummyDecoder();
8529
_incReadDecoder
= null;
9481
_incReadDecoder
= _base64Decoder;
9494
_incReadDecoder
= _binHexDecoder;
44 references to _incReadDecoder
System.Private.Xml (44)
System\Xml\Core\XmlTextReaderImpl.cs (30)
1603
if (
_incReadDecoder
== _base64Decoder)
1650
if (
_incReadDecoder
== _binHexDecoder)
1696
if (
_incReadDecoder
== _base64Decoder)
1743
if (
_incReadDecoder
== _binHexDecoder)
2211
if (
_incReadDecoder
!= _readCharsDecoder)
2247
if (
_incReadDecoder
!= _base64Decoder)
2281
if (
_incReadDecoder
!= _binHexDecoder)
8140
throw new ArgumentNullException((
_incReadDecoder
is IncrementalReadCharsDecoder) ? "buffer" : nameof(array));
8145
throw new ArgumentOutOfRangeException((
_incReadDecoder
is IncrementalReadCharsDecoder) ? nameof(count) : "len");
8150
throw new ArgumentOutOfRangeException((
_incReadDecoder
is IncrementalReadCharsDecoder) ? nameof(index) : "offset");
8155
throw new ArgumentException((
_incReadDecoder
is IncrementalReadCharsDecoder) ? nameof(count) : "len");
8163
Debug.Assert(
_incReadDecoder
!= null);
8166
_incReadDecoder
.SetNextOutputBuffer(array, index, count);
8168
return
_incReadDecoder
.DecodedCount;
8173
Debug.Assert(
_incReadDecoder
!= null);
8184
count =
_incReadDecoder
.Decode(_ps.chars, _incReadLeftStartPos, charsLeft);
8202
if (
_incReadDecoder
.IsFull)
8503
count =
_incReadDecoder
.Decode(_ps.chars, startPos, charsParsed);
8511
Debug.Assert(count == charsParsed ||
_incReadDecoder
.IsFull, "Check if decoded consumed all characters unless it's full.");
8513
if (
_incReadDecoder
.IsFull)
9351
Debug.Assert(
_incReadDecoder
!= null);
9358
_incReadDecoder
.SetNextOutputBuffer(buffer, index, count);
9366
charsRead = _curNode.CopyToBinary(
_incReadDecoder
, _readValueOffset);
9376
if (
_incReadDecoder
.IsFull)
9378
return
_incReadDecoder
.DecodedCount;
9391
while (!
_incReadDecoder
.IsFull && !endOfValue)
9401
charsRead =
_incReadDecoder
.Decode(_ps.chars, startPos, endPos - startPos);
9414
if (
_incReadDecoder
.IsFull)
9420
return
_incReadDecoder
.DecodedCount;
9434
return
_incReadDecoder
.DecodedCount;
System\Xml\Core\XmlTextReaderImplAsync.cs (14)
399
if (
_incReadDecoder
== _base64Decoder)
455
if (
_incReadDecoder
== _binHexDecoder)
520
if (
_incReadDecoder
== _base64Decoder)
576
if (
_incReadDecoder
== _binHexDecoder)
5359
Debug.Assert(
_incReadDecoder
!= null);
5366
_incReadDecoder
.SetNextOutputBuffer(buffer, index, count);
5374
charsRead = _curNode.CopyToBinary(
_incReadDecoder
, _readValueOffset);
5384
if (
_incReadDecoder
.IsFull)
5386
return
_incReadDecoder
.DecodedCount;
5398
while (!
_incReadDecoder
.IsFull && !endOfValue)
5413
charsRead =
_incReadDecoder
.Decode(_ps.chars, startPos, endPos - startPos);
5425
if (
_incReadDecoder
.IsFull)
5431
return
_incReadDecoder
.DecodedCount;
5445
return
_incReadDecoder
.DecodedCount;