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