[Mono-list] SqlBinary

ville vi64pa@koti.soon.fi
Thu, 17 Oct 2002 09:45:04 +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       
> > indicates a position byond the length of the byte array it should 
> > SqlNullvalueException but with windows it throws                  
> >                                                                   
> 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. 
Yes it could be (should be) error in docs, but I didn't find any other
documention of SqlBinary than MSDN, so how can I find out is it error 
in docs or error in ms .net-framework. Should I consult the Microsoft?