[Mono-list] SqlBinary

Rodrigo Moya rodrigo@ximian.com
16 Oct 2002 23:30:52 +0200


On Wed, 2002-10-16 at 19:27, ville wrote:
> Here is a testclass for SqlBinary. I have tested it with windows and one error 
> occur: The MSDN says that if the index parameter (SqlBinary indexer) 
> indicates a position byond the length of the byte array it should throw 
> SqlNullvalueException but with windows it throws IndexOutOfRangeException.
> 
Applied to CVS.

As somebody else mentioned, could it be the docs are wrong? since it
seems to be more appropriate to throw the IndexOutOfRangeException.

cheers
-- 
Rodrigo Moya <rodrigo@ximian.com>