5 writes to _trailByteCount
dotnet-svcutil-lib (5)
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBaseWriter.cs (5)
1444
_trailBytes[
_trailByteCount
++] = buffer[offset++];
1470
_trailByteCount
= (totalByteCount - actualByteCount);
1481
_trailByteCount
+= count;
1531
_trailByteCount
= 0;
1545
_trailByteCount
= 0;
17 references to _trailByteCount
dotnet-svcutil-lib (17)
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBaseWriter.cs (17)
1440
if (
_trailByteCount
> 0)
1442
while (
_trailByteCount
< 3 && count > 0)
1449
int totalByteCount =
_trailByteCount
+ count;
1461
WriteAttributeText(XmlConverter.Base64Encoding.GetString(_trailBytes, 0,
_trailByteCount
));
1462
WriteAttributeText(XmlConverter.Base64Encoding.GetString(buffer, offset, actualByteCount -
_trailByteCount
));
1467
_writer.WriteBase64Text(_trailBytes,
_trailByteCount
, buffer, offset, actualByteCount -
_trailByteCount
);
1471
if (
_trailByteCount
> 0)
1473
int trailOffset = offset + count -
_trailByteCount
;
1474
for (int i = 0; i <
_trailByteCount
; i++)
1480
Buffer.BlockCopy(buffer, offset, _trailBytes,
_trailByteCount
, count);
1509
if (
_trailByteCount
> 0)
1517
return
_trailByteCount
> 0 ? FlushTrailBytesAsync() : Task.CompletedTask;
1523
WriteAttributeText(XmlConverter.Base64Encoding.GetString(_trailBytes, 0,
_trailByteCount
));
1528
_writer.WriteBase64Text(_trailBytes,
_trailByteCount
, _trailBytes, 0, 0);
1537
WriteAttributeText(XmlConverter.Base64Encoding.GetString(_trailBytes, 0,
_trailByteCount
));
1542
await _writer.WriteBase64TextAsync(_trailBytes,
_trailByteCount
, _trailBytes, 0, 0).ConfigureAwait(false);