[Mono-devel-list] [PATCH] Repost: Fix NullReferenceException in DataView.cs

Marc Haisenko haisenko at webport.de
Tue Nov 30 11:24:46 EST 2004

Hi folks,
a few weeks back I've posted a patch to fix NullReferenceExceptions in 
DataView.cs. Nobody took notice back then, I hope I've got more luck this 
time ;-)

Problem was that rowCache was null by default. The patch always assigns it an 
empty array instead of null, which should fix the NullReferenceExceptions 
that for example DataView.Count normally throws.

Patch is against revision 36833.

BTW, the line delimiter in this file is now DOS style altough I'm on a SuSE 
system... is this intended ? Back when I first submitted this patch it was 
against the CVS version of this file and the line delimiter was UNIX style.

Marc Haisenko
Webport IT-Services GmbH
mailto: haisenko at webport.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DataView.cs.patch
Type: text/x-diff
Size: 584 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20041130/47debcc7/attachment.bin 

More information about the Mono-devel-list mailing list