4 writes to _definiteLength
System.Formats.Cbor (4)
System\Formats\Cbor\Reader\CborReader.cs (4)
63
_definiteLength
= allowMultipleRootLevelValues ? null : 1;
98
_definiteLength
= AllowMultipleRootLevelValues ? null : 1;
191
_definiteLength
= definiteLength;
324
_definiteLength
= frame.DefiniteLength;
12 references to _definiteLength
System.Formats.Cbor (12)
System\Formats\Cbor\Reader\CborReader.Array.cs (1)
51
if (
_definiteLength
is null)
System\Formats\Cbor\Reader\CborReader.cs (6)
114
if (
_definiteLength
- _itemsRead == 0)
121
if (_currentMajorType is null &&
_definiteLength
is null && _offset > 0)
181
definiteLength:
_definiteLength
,
214
if (
_definiteLength
- _itemsRead > 0)
235
Debug.Assert(
_definiteLength
is null ||
_definiteLength
- _itemsRead > 0);
System\Formats\Cbor\Reader\CborReader.Map.cs (1)
77
if (
_definiteLength
is null)
System\Formats\Cbor\Reader\CborReader.PeekState.cs (4)
25
if (
_definiteLength
- _itemsRead == 0)
46
if (_currentMajorType is null &&
_definiteLength
is null)
68
if (
_definiteLength
is null)
94
if (
_definiteLength
is null && _currentMajorType != null)