24 references to ThrowHelper
System.Formats.Nrbf (24)
System\Formats\Nrbf\ArrayInfo.cs (1)
56ThrowHelper.ThrowInvalidValue(length);
System\Formats\Nrbf\ArrayRecord.cs (2)
107ThrowHelper.ThrowUnexpectedNullRecordCount(); 135ThrowHelper.ThrowArrayContainedNulls();
System\Formats\Nrbf\ArraySingleObjectRecord.cs (1)
55ThrowHelper.ThrowArrayContainedNulls();
System\Formats\Nrbf\ArraySinglePrimitiveRecord.cs (1)
97ThrowHelper.ThrowEndOfStreamException();
System\Formats\Nrbf\ArraySingleStringRecord.cs (2)
62ThrowHelper.ThrowInvalidReference(); 74ThrowHelper.ThrowArrayContainedNulls();
System\Formats\Nrbf\BinaryLibraryRecord.cs (1)
53ThrowHelper.ThrowInvalidAssemblyName();
System\Formats\Nrbf\ClassInfo.cs (1)
74ThrowHelper.ThrowDuplicateMemberName();
System\Formats\Nrbf\NrbfDecoder.cs (2)
354ThrowHelper.ThrowInvalidValue(rank); 371ThrowHelper.ThrowInvalidValue(lengths[i]); // max array size exceeded
System\Formats\Nrbf\ObjectNullMultiple256Record.cs (1)
29ThrowHelper.ThrowInvalidValue(count);
System\Formats\Nrbf\ObjectNullMultipleRecord.cs (1)
31ThrowHelper.ThrowInvalidValue(count);
System\Formats\Nrbf\SerializationRecordId.cs (1)
45ThrowHelper.ThrowInvalidValue(id);
System\Formats\Nrbf\SerializedStreamHeaderRecord.cs (2)
43ThrowHelper.ThrowInvalidValue(majorVersion); 47ThrowHelper.ThrowInvalidValue(minorVersion);
System\Formats\Nrbf\SZArrayOfRecords.cs (1)
58ThrowHelper.ThrowArrayContainedNulls();
System\Formats\Nrbf\Utils\BinaryReaderExtensions.cs (6)
26ThrowHelper.ThrowForUnexpectedRecordType(nextByte); 49ThrowHelper.ThrowInvalidValue(arrayType); 61ThrowHelper.ThrowInvalidValue(binaryType); 72ThrowHelper.ThrowInvalidValue(primitiveType); 112ThrowHelper.ThrowInvalidFormat(); 147ThrowHelper.ThrowEndOfStreamException();
System\Formats\Nrbf\Utils\TypeNameHelpers.cs (1)
186ThrowHelper.ThrowInvalidTypeName();