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)
51if (_definiteLength is null)
System\Formats\Cbor\Reader\CborReader.cs (6)
114if (_definiteLength - _itemsRead == 0) 121if (_currentMajorType is null && _definiteLength is null && _offset > 0) 181definiteLength: _definiteLength, 214if (_definiteLength - _itemsRead > 0) 235Debug.Assert(_definiteLength is null || _definiteLength - _itemsRead > 0);
System\Formats\Cbor\Reader\CborReader.Map.cs (1)
77if (_definiteLength is null)
System\Formats\Cbor\Reader\CborReader.PeekState.cs (4)
25if (_definiteLength - _itemsRead == 0) 46if (_currentMajorType is null && _definiteLength is null) 68if (_definiteLength is null) 94if (_definiteLength is null && _currentMajorType != null)