6 writes to _incReadDecoder
System.Private.Xml (6)
System\Xml\Core\XmlTextReaderImpl.cs (6)
2216
_incReadDecoder
= _readCharsDecoder;
8168
_incReadDecoder
= decoder;
8568
_incReadDecoder
= new IncrementalReadDummyDecoder();
8571
_incReadDecoder
= null;
9523
_incReadDecoder
= _base64Decoder;
9536
_incReadDecoder
= _binHexDecoder;
44 references to _incReadDecoder
System.Private.Xml (44)
System\Xml\Core\XmlTextReaderImpl.cs (30)
1604
if (
_incReadDecoder
== _base64Decoder)
1651
if (
_incReadDecoder
== _binHexDecoder)
1697
if (
_incReadDecoder
== _base64Decoder)
1744
if (
_incReadDecoder
== _binHexDecoder)
2212
if (
_incReadDecoder
!= _readCharsDecoder)
2248
if (
_incReadDecoder
!= _base64Decoder)
2282
if (
_incReadDecoder
!= _binHexDecoder)
8182
throw new ArgumentNullException((
_incReadDecoder
is IncrementalReadCharsDecoder) ? "buffer" : nameof(array));
8187
throw new ArgumentOutOfRangeException((
_incReadDecoder
is IncrementalReadCharsDecoder) ? nameof(count) : "len");
8192
throw new ArgumentOutOfRangeException((
_incReadDecoder
is IncrementalReadCharsDecoder) ? nameof(index) : "offset");
8197
throw new ArgumentException((
_incReadDecoder
is IncrementalReadCharsDecoder) ? nameof(count) : "len");
8205
Debug.Assert(
_incReadDecoder
!= null);
8208
_incReadDecoder
.SetNextOutputBuffer(array, index, count);
8210
return
_incReadDecoder
.DecodedCount;
8215
Debug.Assert(
_incReadDecoder
!= null);
8226
count =
_incReadDecoder
.Decode(_ps.chars, _incReadLeftStartPos, charsLeft);
8244
if (
_incReadDecoder
.IsFull)
8545
count =
_incReadDecoder
.Decode(_ps.chars, startPos, charsParsed);
8553
Debug.Assert(count == charsParsed ||
_incReadDecoder
.IsFull, "Check if decoded consumed all characters unless it's full.");
8555
if (
_incReadDecoder
.IsFull)
9393
Debug.Assert(
_incReadDecoder
!= null);
9400
_incReadDecoder
.SetNextOutputBuffer(buffer, index, count);
9408
charsRead = _curNode.CopyToBinary(
_incReadDecoder
, _readValueOffset);
9418
if (
_incReadDecoder
.IsFull)
9420
return
_incReadDecoder
.DecodedCount;
9433
while (!
_incReadDecoder
.IsFull && !endOfValue)
9443
charsRead =
_incReadDecoder
.Decode(_ps.chars, startPos, endPos - startPos);
9456
if (
_incReadDecoder
.IsFull)
9462
return
_incReadDecoder
.DecodedCount;
9476
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)
5389
Debug.Assert(
_incReadDecoder
!= null);
5396
_incReadDecoder
.SetNextOutputBuffer(buffer, index, count);
5404
charsRead = _curNode.CopyToBinary(
_incReadDecoder
, _readValueOffset);
5414
if (
_incReadDecoder
.IsFull)
5416
return
_incReadDecoder
.DecodedCount;
5428
while (!
_incReadDecoder
.IsFull && !endOfValue)
5443
charsRead =
_incReadDecoder
.Decode(_ps.chars, startPos, endPos - startPos);
5455
if (
_incReadDecoder
.IsFull)
5461
return
_incReadDecoder
.DecodedCount;
5475
return
_incReadDecoder
.DecodedCount;