40 references to CborContentException
System.Formats.Cbor (39)
System\Formats\Cbor\Reader\CborReader.Array.cs (1)
24throw new CborContentException(SR.Format(SR.Cbor_ConformanceMode_IndefiniteLengthItemsNotSupported, ConformanceMode));
System\Formats\Cbor\Reader\CborReader.cs (5)
127throw new CborContentException(SR.Cbor_Reader_InvalidCbor_UnexpectedEndOfBuffer); 146throw new CborContentException(SR.Format(SR.Cbor_Reader_InvalidCbor_IndefiniteLengthStringContainsInvalidDataItem, (int)nextByte.MajorType)); 221throw new CborContentException(SR.Cbor_Reader_InvalidCbor_TagNotFollowedByValue); 277throw new CborContentException(SR.Cbor_Reader_InvalidCbor_UnexpectedEndOfBuffer); 285throw new CborContentException(SR.Cbor_Reader_InvalidCbor_UnexpectedEndOfBuffer);
System\Formats\Cbor\Reader\CborReader.Integer.cs (3)
150throw new CborContentException(SR.Cbor_Reader_DefiniteLengthExceedsBufferSize); 216throw new CborContentException(SR.Cbor_Reader_InvalidCbor_InvalidIntegerEncoding); 223throw new CborContentException(SR.Format(SR.Cbor_ConformanceMode_NonCanonicalIntegerRepresentation, ConformanceMode));
System\Formats\Cbor\Reader\CborReader.Map.cs (6)
39throw new CborContentException(SR.Format(SR.Cbor_ConformanceMode_RequiresDefiniteLengthItems, ConformanceMode)); 54throw new CborContentException(SR.Cbor_Reader_DefiniteLengthExceedsBufferSize); 83throw new CborContentException(SR.Cbor_Reader_InvalidCbor_KeyMissingValue); 146throw new CborContentException(SR.Format(SR.Cbor_ConformanceMode_KeysNotInSortedOrder, ConformanceMode)); 151throw new CborContentException(SR.Format(SR.Cbor_ConformanceMode_ContainsDuplicateKeys, ConformanceMode)); 167throw new CborContentException(SR.Format(SR.Cbor_ConformanceMode_ContainsDuplicateKeys, ConformanceMode));
System\Formats\Cbor\Reader\CborReader.PeekState.cs (6)
54throw new CborContentException(SR.Cbor_Reader_InvalidCbor_UnexpectedEndOfBuffer); 65throw new CborContentException(SR.Cbor_Reader_InvalidCbor_TagNotFollowedByValue); 75throw new CborContentException(SR.Cbor_Reader_InvalidCbor_UnexpectedBreakByte); 82throw new CborContentException(SR.Cbor_Reader_InvalidCbor_KeyMissingValue); 90throw new CborContentException(SR.Cbor_Reader_InvalidCbor_UnexpectedBreakByte); 103throw new CborContentException(SR.Cbor_Reader_InvalidCbor_IndefiniteLengthStringContainsInvalidDataItem);
System\Formats\Cbor\Reader\CborReader.Simple.cs (1)
175throw new CborContentException(SR.Format(SR.Cbor_ConformanceMode_InvalidSimpleValueEncoding, ConformanceMode));
System\Formats\Cbor\Reader\CborReader.String.cs (7)
35throw new CborContentException(SR.Format(SR.Cbor_ConformanceMode_IndefiniteLengthItemsNotSupported, ConformanceMode)); 70throw new CborContentException(SR.Format(SR.Cbor_ConformanceMode_IndefiniteLengthItemsNotSupported, ConformanceMode)); 143throw new CborContentException(SR.Format(SR.Cbor_ConformanceMode_IndefiniteLengthItemsNotSupported, ConformanceMode)); 180throw new CborContentException(SR.Format(SR.Cbor_ConformanceMode_IndefiniteLengthItemsNotSupported, ConformanceMode)); 226throw new CborContentException(SR.Format(SR.Cbor_ConformanceMode_IndefiniteLengthItemsNotSupported, ConformanceMode)); 310throw new CborContentException(SR.Format(SR.Cbor_ConformanceMode_IndefiniteLengthItemsNotSupported, ConformanceMode)); 475throw new CborContentException(SR.Cbor_Reader_InvalidCbor_IndefiniteLengthStringContainsInvalidDataItem);
System\Formats\Cbor\Reader\CborReader.Tag.cs (10)
69throw new CborContentException(SR.Cbor_Reader_InvalidDateTimeEncoding); 77throw new CborContentException(SR.Cbor_Reader_InvalidDateTimeEncoding); 124throw new CborContentException(SR.Cbor_Reader_InvalidUnixTimeEncoding); 131throw new CborContentException(SR.Cbor_Reader_InvalidUnixTimeEncoding); 174throw new CborContentException(SR.Cbor_Reader_InvalidBigNumEncoding); 213throw new CborContentException(SR.Cbor_Reader_InvalidDecimalEncoding); 227throw new CborContentException(SR.Cbor_Reader_InvalidDecimalEncoding); 249throw new CborContentException(SR.Cbor_Reader_InvalidDecimalEncoding); 255throw new CborContentException(SR.Cbor_Reader_InvalidDecimalEncoding); 289throw new CborContentException(SR.Format(SR.Cbor_ConformanceMode_TagsNotSupported, ConformanceMode));
System.Security.Cryptography.Cose (1)
System\Security\Cryptography\Cose\CoseHeaderMap.cs (1)
323throw new CborContentException(SR.CoseHeaderMapCborEncodedValueNotValid);