16 references to Array
System.Formats.Cbor (16)
System\Formats\Cbor\Reader\CborReader.Array.cs (5)
18CborInitialByte header = PeekInitialByte(expectedType: CborMajorType.Array); 28PushDataItem(CborMajorType.Array, null); 37PushDataItem(CborMajorType.Array, arrayLength); 54PopDataItem(expectedType: CborMajorType.Array); 60PopDataItem(expectedType: CborMajorType.Array);
System\Formats\Cbor\Reader\CborReader.PeekState.cs (3)
35case CborMajorType.Array: return CborReaderState.EndArray; 79case CborMajorType.Array: return CborReaderState.EndArray; 124case CborMajorType.Array: return CborReaderState.StartArray;
System\Formats\Cbor\Writer\CborWriter.Array.cs (6)
42PopDataItem(CborMajorType.Array); 53WriteUnsignedInteger(CborMajorType.Array, (ulong)definiteLength); 54PushDataItem(CborMajorType.Array, definiteLength); 65WriteInitialByte(new CborInitialByte(CborMajorType.Array, CborAdditionalInfo.IndefiniteLength)); 66PushDataItem(CborMajorType.Array, definiteLength: null); 72Debug.Assert(majorType == CborMajorType.Array || majorType == CborMajorType.Map);
System\Formats\Cbor\Writer\CborWriter.cs (2)
401case CborMajorType.Array: 402PatchIndefiniteLengthCollection(CborMajorType.Array, _itemsWritten);