6 writes to _incReadDecoder
System.Private.Xml (6)
System\Xml\Core\XmlTextReaderImpl.cs (6)
2215
_incReadDecoder
= _readCharsDecoder;
8136
_incReadDecoder
= decoder;
8536
_incReadDecoder
= new IncrementalReadDummyDecoder();
8539
_incReadDecoder
= null;
9491
_incReadDecoder
= _base64Decoder;
9504
_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)
8150
throw new ArgumentNullException((
_incReadDecoder
is IncrementalReadCharsDecoder) ? "buffer" : nameof(array));
8155
throw new ArgumentOutOfRangeException((
_incReadDecoder
is IncrementalReadCharsDecoder) ? nameof(count) : "len");
8160
throw new ArgumentOutOfRangeException((
_incReadDecoder
is IncrementalReadCharsDecoder) ? nameof(index) : "offset");
8165
throw new ArgumentException((
_incReadDecoder
is IncrementalReadCharsDecoder) ? nameof(count) : "len");
8173
Debug.Assert(
_incReadDecoder
!= null);
8176
_incReadDecoder
.SetNextOutputBuffer(array, index, count);
8178
return
_incReadDecoder
.DecodedCount;
8183
Debug.Assert(
_incReadDecoder
!= null);
8194
count =
_incReadDecoder
.Decode(_ps.chars, _incReadLeftStartPos, charsLeft);
8212
if (
_incReadDecoder
.IsFull)
8513
count =
_incReadDecoder
.Decode(_ps.chars, startPos, charsParsed);
8521
Debug.Assert(count == charsParsed ||
_incReadDecoder
.IsFull, "Check if decoded consumed all characters unless it's full.");
8523
if (
_incReadDecoder
.IsFull)
9361
Debug.Assert(
_incReadDecoder
!= null);
9368
_incReadDecoder
.SetNextOutputBuffer(buffer, index, count);
9376
charsRead = _curNode.CopyToBinary(
_incReadDecoder
, _readValueOffset);
9386
if (
_incReadDecoder
.IsFull)
9388
return
_incReadDecoder
.DecodedCount;
9401
while (!
_incReadDecoder
.IsFull && !endOfValue)
9411
charsRead =
_incReadDecoder
.Decode(_ps.chars, startPos, endPos - startPos);
9424
if (
_incReadDecoder
.IsFull)
9430
return
_incReadDecoder
.DecodedCount;
9444
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;