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)
114
if (_definiteLength -
_itemsRead
== 0)
182
itemsRead:
_itemsRead
,
214
if (_definiteLength -
_itemsRead
> 0)
235
Debug.Assert(_definiteLength is null || _definiteLength -
_itemsRead
> 0);
239
if (
_itemsRead
% 2 == 0)
373
itemsRead:
_itemsRead
,
408
if (_keyEncodingRanges != null &&
_itemsRead
> checkpoint.ItemsRead)
System\Formats\Cbor\Reader\CborReader.Map.cs (3)
81
if (
_itemsRead
% 2 != 0)
104
Debug.Assert(_currentKeyOffset != null &&
_itemsRead
% 2 == 0);
125
Debug.Assert(_currentKeyOffset != null &&
_itemsRead
% 2 != 0);
System\Formats\Cbor\Reader\CborReader.PeekState.cs (2)
25
if (_definiteLength -
_itemsRead
== 0)
80
case CborMajorType.Map when
_itemsRead
% 2 == 0: return CborReaderState.EndMap;