1 instantiation of KeyValuePairEncodingRange
System.Formats.Cbor (1)
System\Formats\Cbor\Writer\CborWriter.Map.cs (1)
125var currentKeyValueRange = new KeyValuePairEncodingRange(
16 references to KeyValuePairEncodingRange
System.Formats.Cbor (16)
System\Formats\Cbor\Writer\CborWriter.cs (3)
32private List<KeyValuePairEncodingRange>? _keyValuePairEncodingRanges; // all key/value pair encoding ranges 431List<KeyValuePairEncodingRange>? keyValuePairEncodingRanges, 453public List<KeyValuePairEncodingRange>? KeyValuePairEncodingRanges { get; }
System\Formats\Cbor\Writer\CborWriter.Map.cs (13)
15private Stack<List<KeyValuePairEncodingRange>>? _pooledKeyValuePairEncodingRangeLists; 123List<KeyValuePairEncodingRange> keyValuePairEncodingRanges = GetKeyValueEncodingRanges(); 125var currentKeyValueRange = new KeyValuePairEncodingRange( 136KeyValuePairEncodingRange previousKeyValueRange = keyValuePairEncodingRanges[keyValuePairEncodingRanges.Count - 1]; 165foreach (KeyValuePairEncodingRange range in _keyValuePairEncodingRanges) 213private List<KeyValuePairEncodingRange> GetKeyValueEncodingRanges() 221_pooledKeyValuePairEncodingRangeLists.TryPop(out List<KeyValuePairEncodingRange>? result)) 227return _keyValuePairEncodingRanges = new List<KeyValuePairEncodingRange>(); 234_pooledKeyValuePairEncodingRangeLists ??= new Stack<List<KeyValuePairEncodingRange>>(); 260private sealed class KeyEncodingComparer : IComparer<KeyValuePairEncodingRange>, 275private Span<byte> GetKeyEncoding(in KeyValuePairEncodingRange range) 290public int Compare(KeyValuePairEncodingRange x, KeyValuePairEncodingRange y)