[Mono-dev] patch to fix CS0642 warning for if-else statement

Atsushi Eno atsushi at ximian.com
Wed Aug 24 05:42:20 EDT 2005


I made a tiny patch for cs0642 warning (attached). It only fixes
if-else statement cases. Will continue to fix #66777.

I noticed that the use of EmptyStatement.Value hides the actual
location to report. Basically using singleton is harmful for
error reporting. Would it be bad idea if I replace all of them
and create instance for each empty statements?

Atsushi Eno
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix-0642-ifelse.patch
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050824/06f32104/attachment.pl 

More information about the Mono-devel-list mailing list