2 writes to _decoder
System.Private.Xml (2)
System\Xml\Core\ReadContentAsBinaryHelper.cs (2)
312
_decoder
= _base64Decoder;
325
_decoder
= _binHexDecoder;
26 references to _decoder
System.Private.Xml (26)
System\Xml\Core\ReadContentAsBinaryHelper.cs (13)
84
if (
_decoder
== _base64Decoder)
127
if (
_decoder
== _binHexDecoder)
172
if (
_decoder
== _base64Decoder)
215
if (
_decoder
== _binHexDecoder)
330
Debug.Assert(
_decoder
!= null);
337
_decoder
.SetNextOutputBuffer(buffer, index, count);
348
int decodedCharsCount =
_decoder
.Decode(_valueChunk!, _valueOffset, _valueChunkLength - _valueOffset);
351
if (
_decoder
.IsFull)
353
return
_decoder
.DecodedCount;
367
int decodedCharsCount =
_decoder
.Decode(value, _valueOffset, value.Length - _valueOffset);
370
if (
_decoder
.IsFull)
372
return
_decoder
.DecodedCount;
382
return
_decoder
.DecodedCount;
System\Xml\Core\ReadContentAsBinaryHelperAsync.cs (13)
35
if (
_decoder
== _base64Decoder)
79
if (
_decoder
== _binHexDecoder)
125
if (
_decoder
== _base64Decoder)
169
if (
_decoder
== _binHexDecoder)
252
Debug.Assert(
_decoder
!= null);
259
_decoder
.SetNextOutputBuffer(buffer, index, count);
270
int decodedCharsCount =
_decoder
.Decode(_valueChunk!, _valueOffset, _valueChunkLength - _valueOffset);
273
if (
_decoder
.IsFull)
275
return
_decoder
.DecodedCount;
289
int decodedCharsCount =
_decoder
.Decode(value, _valueOffset, value.Length - _valueOffset);
292
if (
_decoder
.IsFull)
294
return
_decoder
.DecodedCount;
304
return
_decoder
.DecodedCount;