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)
57public bool IsWriteCompleted => _currentMajorType is null && _itemsWritten > 0; 266itemsWritten: _itemsWritten, 311if (_definiteLength - _itemsWritten > 0) 347if (_itemsWritten % 2 == 0) 363if (_definiteLength - _itemsWritten == 0) 402PatchIndefiniteLengthCollection(CborMajorType.Array, _itemsWritten); 405Debug.Assert(_itemsWritten % 2 == 0); 406PatchIndefiniteLengthCollection(CborMajorType.Map, _itemsWritten / 2);
System\Formats\Cbor\Writer\CborWriter.Map.cs (1)
55if (_itemsWritten % 2 == 1)