6 writes to _incReadDecoder
System.Private.Xml (6)
System\Xml\Core\XmlTextReaderImpl.cs (6)
2215
_incReadDecoder
= _readCharsDecoder;
8143
_incReadDecoder
= decoder;
8543
_incReadDecoder
= new IncrementalReadDummyDecoder();
8546
_incReadDecoder
= null;
9498
_incReadDecoder
= _base64Decoder;
9511
_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)
8157
throw new ArgumentNullException((
_incReadDecoder
is IncrementalReadCharsDecoder) ? "buffer" : nameof(array));
8162
throw new ArgumentOutOfRangeException((
_incReadDecoder
is IncrementalReadCharsDecoder) ? nameof(count) : "len");
8167
throw new ArgumentOutOfRangeException((
_incReadDecoder
is IncrementalReadCharsDecoder) ? nameof(index) : "offset");
8172
throw new ArgumentException((
_incReadDecoder
is IncrementalReadCharsDecoder) ? nameof(count) : "len");
8180
Debug.Assert(
_incReadDecoder
!= null);
8183
_incReadDecoder
.SetNextOutputBuffer(array, index, count);
8185
return
_incReadDecoder
.DecodedCount;
8190
Debug.Assert(
_incReadDecoder
!= null);
8201
count =
_incReadDecoder
.Decode(_ps.chars, _incReadLeftStartPos, charsLeft);
8219
if (
_incReadDecoder
.IsFull)
8520
count =
_incReadDecoder
.Decode(_ps.chars, startPos, charsParsed);
8528
Debug.Assert(count == charsParsed ||
_incReadDecoder
.IsFull, "Check if decoded consumed all characters unless it's full.");
8530
if (
_incReadDecoder
.IsFull)
9368
Debug.Assert(
_incReadDecoder
!= null);
9375
_incReadDecoder
.SetNextOutputBuffer(buffer, index, count);
9383
charsRead = _curNode.CopyToBinary(
_incReadDecoder
, _readValueOffset);
9393
if (
_incReadDecoder
.IsFull)
9395
return
_incReadDecoder
.DecodedCount;
9408
while (!
_incReadDecoder
.IsFull && !endOfValue)
9418
charsRead =
_incReadDecoder
.Decode(_ps.chars, startPos, endPos - startPos);
9431
if (
_incReadDecoder
.IsFull)
9437
return
_incReadDecoder
.DecodedCount;
9451
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;