Lines Matching refs:ArgumentOutOfRangeException
49 Assert.Throws<ArgumentOutOfRangeException>(() => uut.PutByte(1, 99)); in ByteBuffer_PutByteCannotPutAtOffsetPastLength()
71 Assert.Throws<ArgumentOutOfRangeException>(() => uut.PutShort(2, 99)); in ByteBuffer_PutShortCannotPutAtOffsetPastLength()
81 Assert.Throws<ArgumentOutOfRangeException>(() => uut.PutShort(0, 99)); in ByteBuffer_PutShortChecksLength()
89 Assert.Throws<ArgumentOutOfRangeException>(() => uut.PutShort(1, 99)); in ByteBuffer_PutShortChecksLengthAndOffset()
113 Assert.Throws<ArgumentOutOfRangeException>(() => uut.PutInt(2, 0x0A0B0C0D)); in ByteBuffer_PutIntCannotPutAtOffsetPastLength()
121 Assert.Throws<ArgumentOutOfRangeException>(() => uut.PutInt(0, 0x0A0B0C0D)); in ByteBuffer_PutIntChecksLength()
129 Assert.Throws<ArgumentOutOfRangeException>(() => uut.PutInt(2, 0x0A0B0C0D)); in ByteBuffer_PutIntChecksLengthAndOffset()
157 Assert.Throws<ArgumentOutOfRangeException>(() => uut.PutLong(2, 0x010203040A0B0C0D)); in ByteBuffer_PutLongCannotPutAtOffsetPastLength()
165 Assert.Throws<ArgumentOutOfRangeException>(() => uut.PutLong(0, 0x010203040A0B0C0D)); in ByteBuffer_PutLongChecksLength()
173 Assert.Throws<ArgumentOutOfRangeException>(() => uut.PutLong(2, 0x010203040A0B0C0D)); in ByteBuffer_PutLongChecksLengthAndOffset()
192 Assert.Throws<ArgumentOutOfRangeException>(()=>uut.Get(1)); in ByteBuffer_GetByteChecksOffset()
212 Assert.Throws<ArgumentOutOfRangeException>(() => uut.GetShort(2)); in ByteBuffer_GetShortChecksOffset()
220 Assert.Throws<ArgumentOutOfRangeException>(() => uut.GetShort(1)); in ByteBuffer_GetShortChecksLength()
242 Assert.Throws<ArgumentOutOfRangeException>(() => uut.GetInt(4)); in ByteBuffer_GetIntChecksOffset()
250 Assert.Throws<ArgumentOutOfRangeException>(() => uut.GetInt(0)); in ByteBuffer_GetIntChecksLength()
276 Assert.Throws<ArgumentOutOfRangeException>(() => uut.GetLong(8)); in ByteBuffer_GetLongChecksOffset()
284 Assert.Throws<ArgumentOutOfRangeException>(() => uut.GetLong(0)); in ByteBuffer_GetLongChecksLength()