25 references to ThrowHelper
System.Formats.Nrbf (25)
System\Formats\Nrbf\ArrayInfo.cs (1)
56ThrowHelper.ThrowInvalidValue(length);
System\Formats\Nrbf\ArrayOfClassesRecord.cs (1)
54ThrowHelper.ThrowArrayContainedNulls();
System\Formats\Nrbf\ArrayRecord.cs (1)
110ThrowHelper.ThrowUnexpectedNullRecordCount();
System\Formats\Nrbf\ArraySingleObjectRecord.cs (1)
54ThrowHelper.ThrowArrayContainedNulls();
System\Formats\Nrbf\ArraySinglePrimitiveRecord.cs (1)
95ThrowHelper.ThrowEndOfStreamException();
System\Formats\Nrbf\ArraySingleStringRecord.cs (2)
62ThrowHelper.ThrowInvalidReference(); 74ThrowHelper.ThrowArrayContainedNulls();
System\Formats\Nrbf\BinaryArrayRecord.cs (3)
120ThrowHelper.ThrowArrayContainedNulls(); 159ThrowHelper.ThrowInvalidValue(rank); 176ThrowHelper.ThrowInvalidValue(lengths[i]); // max array size exceeded
System\Formats\Nrbf\BinaryLibraryRecord.cs (1)
53ThrowHelper.ThrowInvalidAssemblyName();
System\Formats\Nrbf\ClassInfo.cs (1)
74ThrowHelper.ThrowDuplicateMemberName();
System\Formats\Nrbf\ObjectNullMultiple256Record.cs (1)
29ThrowHelper.ThrowInvalidValue(count);
System\Formats\Nrbf\ObjectNullMultipleRecord.cs (1)
31ThrowHelper.ThrowInvalidValue(count);
System\Formats\Nrbf\RectangularArrayRecord.cs (1)
206ThrowHelper.ThrowEndOfStreamException();
System\Formats\Nrbf\SerializationRecordId.cs (1)
45ThrowHelper.ThrowInvalidValue(id);
System\Formats\Nrbf\SerializedStreamHeaderRecord.cs (2)
43ThrowHelper.ThrowInvalidValue(majorVersion); 47ThrowHelper.ThrowInvalidValue(minorVersion);
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();