5 writes to _itemsRead
System.Formats.Cbor (5)
System\Formats\Cbor\Reader\CborReader.cs (5)
99_itemsRead = default; 192_itemsRead = 0; 249_itemsRead++; 325_itemsRead = frame.ItemsRead; 415_itemsRead = checkpoint.ItemsRead;
12 references to _itemsRead
System.Formats.Cbor (12)
System\Formats\Cbor\Reader\CborReader.cs (7)
114if (_definiteLength - _itemsRead == 0) 182itemsRead: _itemsRead, 214if (_definiteLength - _itemsRead > 0) 235Debug.Assert(_definiteLength is null || _definiteLength - _itemsRead > 0); 239if (_itemsRead % 2 == 0) 373itemsRead: _itemsRead, 408if (_keyEncodingRanges != null && _itemsRead > checkpoint.ItemsRead)
System\Formats\Cbor\Reader\CborReader.Map.cs (3)
81if (_itemsRead % 2 != 0) 104Debug.Assert(_currentKeyOffset != null && _itemsRead % 2 == 0); 125Debug.Assert(_currentKeyOffset != null && _itemsRead % 2 != 0);
System\Formats\Cbor\Reader\CborReader.PeekState.cs (2)
25if (_definiteLength - _itemsRead == 0) 80case CborMajorType.Map when _itemsRead % 2 == 0: return CborReaderState.EndMap;