25 references to ThrowHelper
System.Formats.Nrbf (25)
System\Formats\Nrbf\ArrayInfo.cs (1)
56
ThrowHelper
.ThrowInvalidValue(length);
System\Formats\Nrbf\ArrayOfClassesRecord.cs (1)
54
ThrowHelper
.ThrowArrayContainedNulls();
System\Formats\Nrbf\ArrayRecord.cs (1)
110
ThrowHelper
.ThrowUnexpectedNullRecordCount();
System\Formats\Nrbf\ArraySingleObjectRecord.cs (1)
54
ThrowHelper
.ThrowArrayContainedNulls();
System\Formats\Nrbf\ArraySinglePrimitiveRecord.cs (1)
95
ThrowHelper
.ThrowEndOfStreamException();
System\Formats\Nrbf\ArraySingleStringRecord.cs (2)
62
ThrowHelper
.ThrowInvalidReference();
74
ThrowHelper
.ThrowArrayContainedNulls();
System\Formats\Nrbf\BinaryArrayRecord.cs (3)
120
ThrowHelper
.ThrowArrayContainedNulls();
159
ThrowHelper
.ThrowInvalidValue(rank);
176
ThrowHelper
.ThrowInvalidValue(lengths[i]); // max array size exceeded
System\Formats\Nrbf\BinaryLibraryRecord.cs (1)
53
ThrowHelper
.ThrowInvalidAssemblyName();
System\Formats\Nrbf\ClassInfo.cs (1)
74
ThrowHelper
.ThrowDuplicateMemberName();
System\Formats\Nrbf\ObjectNullMultiple256Record.cs (1)
29
ThrowHelper
.ThrowInvalidValue(count);
System\Formats\Nrbf\ObjectNullMultipleRecord.cs (1)
31
ThrowHelper
.ThrowInvalidValue(count);
System\Formats\Nrbf\RectangularArrayRecord.cs (1)
206
ThrowHelper
.ThrowEndOfStreamException();
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 (6)
26
ThrowHelper
.ThrowForUnexpectedRecordType(nextByte);
49
ThrowHelper
.ThrowInvalidValue(arrayType);
61
ThrowHelper
.ThrowInvalidValue(binaryType);
72
ThrowHelper
.ThrowInvalidValue(primitiveType);
112
ThrowHelper
.ThrowInvalidFormat();
147
ThrowHelper
.ThrowEndOfStreamException();
System\Formats\Nrbf\Utils\TypeNameHelpers.cs (1)
186
ThrowHelper
.ThrowInvalidTypeName();