12 references to ThrowInvalidValue
System.Formats.Nrbf (12)
System\Formats\Nrbf\ArrayInfo.cs (1)
56
ThrowHelper.
ThrowInvalidValue
(length);
System\Formats\Nrbf\BinaryArrayRecord.cs (2)
159
ThrowHelper.
ThrowInvalidValue
(rank);
176
ThrowHelper.
ThrowInvalidValue
(lengths[i]); // max array size exceeded
System\Formats\Nrbf\ObjectNullMultiple256Record.cs (1)
29
ThrowHelper.
ThrowInvalidValue
(count);
System\Formats\Nrbf\ObjectNullMultipleRecord.cs (1)
31
ThrowHelper.
ThrowInvalidValue
(count);
System\Formats\Nrbf\SerializationRecordId.cs (1)
45
ThrowHelper.
ThrowInvalidValue
(id);
System\Formats\Nrbf\SerializedStreamHeaderRecord.cs (2)
43
ThrowHelper.
ThrowInvalidValue
(majorVersion);
47
ThrowHelper.
ThrowInvalidValue
(minorVersion);
System\Formats\Nrbf\Utils\BinaryReaderExtensions.cs (3)
49
ThrowHelper.
ThrowInvalidValue
(arrayType);
61
ThrowHelper.
ThrowInvalidValue
(binaryType);
72
ThrowHelper.
ThrowInvalidValue
(primitiveType);
System\Formats\Nrbf\Utils\ThrowHelper.cs (1)
58
ThrowInvalidValue
(recordType);