2 writes to _trailBytes
System.Private.DataContractSerialization (2)
System\Xml\XmlBaseWriter.cs (2)
1479
_trailBytes
??= new byte[3];
1538
_trailBytes
??= new byte[3];
18 references to _trailBytes
System.Private.DataContractSerialization (18)
System\Xml\XmlBaseWriter.cs (18)
1471
_trailBytes
![_trailByteCount++] = buffer[offset++];
1485
WriteAttributeText(DataContractSerializer.Base64Encoding.GetString(
_trailBytes
, 0, _trailByteCount));
1492
_writer.WriteBase64Text(
_trailBytes
, _trailByteCount, buffer, offset, actualByteCount - _trailByteCount);
1501
_trailBytes
[i] = buffer[trailOffset++];
1506
Buffer.BlockCopy(buffer, offset,
_trailBytes
, _trailByteCount, count);
1530
_trailBytes
![_trailByteCount++] = buffer[offset++];
1544
WriteAttributeText(DataContractSerializer.Base64Encoding.GetString(
_trailBytes
, 0, _trailByteCount));
1550
await _writer.WriteBase64TextAsync(
_trailBytes
, _trailByteCount, buffer, offset, actualByteCount - _trailByteCount).ConfigureAwait(false);
1558
_trailBytes
[i] = buffer[trailOffset++];
1563
Buffer.BlockCopy(buffer, offset,
_trailBytes
, _trailByteCount, count);
1745
Debug.Assert(
_trailBytes
!= null);
1748
WriteAttributeText(DataContractSerializer.Base64Encoding.GetString(
_trailBytes
, 0, _trailByteCount));
1753
_writer.WriteBase64Text(
_trailBytes
, _trailByteCount,
_trailBytes
, 0, 0);
1761
Debug.Assert(
_trailBytes
!= null);
1764
WriteAttributeText(DataContractSerializer.Base64Encoding.GetString(
_trailBytes
, 0, _trailByteCount));
1769
await _writer.WriteBase64TextAsync(
_trailBytes
, _trailByteCount,
_trailBytes
, 0, 0).ConfigureAwait(false);