6 writes to incReadDecoder
System.Xml (6)
System\Xml\Core\XmlTextReaderImpl.cs (6)
2071
incReadDecoder
= readCharsDecoder;
7309
incReadDecoder
= decoder;
7652
incReadDecoder
= new IncrementalReadDummyDecoder();
7655
incReadDecoder
= null;
8452
incReadDecoder
= base64Decoder;
8462
incReadDecoder
= binHexDecoder;
42 references to incReadDecoder
System.Xml (42)
System\Xml\Core\XmlTextReaderImpl.cs (28)
1533
if (
incReadDecoder
== base64Decoder ) {
1581
if (
incReadDecoder
== binHexDecoder ) {
1628
if (
incReadDecoder
== base64Decoder ) {
1676
if (
incReadDecoder
== binHexDecoder ) {
2066
if (
incReadDecoder
!= readCharsDecoder ) { // mixing ReadChars with ReadBase64 or ReadBinHex
2100
if (
incReadDecoder
!= base64Decoder ) { // mixing ReadBase64 with ReadChars or ReadBinHex
2130
if (
incReadDecoder
!= binHexDecoder ) { // mixing ReadBinHex with ReadChars or ReadBase64
7321
throw new ArgumentNullException( (
incReadDecoder
is IncrementalReadCharsDecoder ) ? "buffer" : "array" );
7324
throw new ArgumentOutOfRangeException( (
incReadDecoder
is IncrementalReadCharsDecoder ) ? "count" : "len" );
7327
throw new ArgumentOutOfRangeException( (
incReadDecoder
is IncrementalReadCharsDecoder ) ? "index" : "offset" );
7330
throw new ArgumentException( (
incReadDecoder
is IncrementalReadCharsDecoder ) ? "count" : "len" );
7339
incReadDecoder
.SetNextOutputBuffer( array, index, count );
7341
return
incReadDecoder
.DecodedCount;
7352
count =
incReadDecoder
.Decode( ps.chars, incReadLeftStartPos, charsLeft );
7367
if (
incReadDecoder
.IsFull ) {
7633
count =
incReadDecoder
.Decode( ps.chars, startPos, charsParsed );
7639
Debug.Assert( count == charsParsed ||
incReadDecoder
.IsFull, "Check if decoded consumed all characters unless it's full." );
7641
if (
incReadDecoder
.IsFull ) {
8344
Debug.Assert(
incReadDecoder
!= null );
8350
incReadDecoder
.SetNextOutputBuffer( buffer, index, count );
8356
charsRead = curNode.CopyToBinary(
incReadDecoder
, readValueOffset );
8365
if (
incReadDecoder
.IsFull ) {
8366
return
incReadDecoder
.DecodedCount;
8377
while ( !
incReadDecoder
.IsFull && !endOfValue ) {
8385
charsRead =
incReadDecoder
.Decode( ps.chars, startPos, endPos - startPos );
8396
if (
incReadDecoder
.IsFull ) {
8401
return
incReadDecoder
.DecodedCount;
8414
return
incReadDecoder
.DecodedCount;
System\Xml\Core\XmlTextReaderImplAsync.cs (14)
380
if (
incReadDecoder
== base64Decoder ) {
435
if (
incReadDecoder
== binHexDecoder ) {
498
if (
incReadDecoder
== base64Decoder ) {
553
if (
incReadDecoder
== binHexDecoder ) {
4979
Debug.Assert(
incReadDecoder
!= null );
4985
incReadDecoder
.SetNextOutputBuffer( buffer, index, count );
4991
charsRead = curNode.CopyToBinary(
incReadDecoder
, readValueOffset );
5000
if (
incReadDecoder
.IsFull ) {
5001
return
incReadDecoder
.DecodedCount;
5012
while ( !
incReadDecoder
.IsFull && !endOfValue ) {
5026
charsRead =
incReadDecoder
.Decode( ps.chars, startPos, endPos - startPos );
5037
if (
incReadDecoder
.IsFull ) {
5042
return
incReadDecoder
.DecodedCount;
5055
return
incReadDecoder
.DecodedCount;