> 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. 
>                                                                     
                                                                      
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?
                                                                      
ville                                                                 

_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to