4 writes to _itemsWritten
System.Formats.Cbor (4)
System\Formats\Cbor\Writer\CborWriter.cs (4)
114
_itemsWritten
= 0;
279
_itemsWritten
= 0;
334
_itemsWritten
= frame.ItemsWritten;
357
_itemsWritten
++;
9 references to _itemsWritten
System.Formats.Cbor (9)
System\Formats\Cbor\Writer\CborWriter.cs (8)
57
public bool IsWriteCompleted => _currentMajorType is null &&
_itemsWritten
> 0;
266
itemsWritten:
_itemsWritten
,
311
if (_definiteLength -
_itemsWritten
> 0)
347
if (
_itemsWritten
% 2 == 0)
363
if (_definiteLength -
_itemsWritten
== 0)
402
PatchIndefiniteLengthCollection(CborMajorType.Array,
_itemsWritten
);
405
Debug.Assert(
_itemsWritten
% 2 == 0);
406
PatchIndefiniteLengthCollection(CborMajorType.Map,
_itemsWritten
/ 2);
System\Formats\Cbor\Writer\CborWriter.Map.cs (1)
55
if (
_itemsWritten
% 2 == 1)