[Mono-devel-list] Null Attributes arguments

Paolo Molaro lupus at ximian.com
Thu Dec 9 10:56:41 EST 2004

On 12/09/04 Marek Safar wrote:
> >Do you have a test case?
> Sure, it is improved TC for bug
> http://bugzilla.ximian.com/show_bug.cgi?id=67412

Oh, a it's filed under the C# compiler bugs...

> >You can't add statements before local var declarations: it breaks
> >older compilers (of course you need to move the 
> >	klass = mono_object_class (arg);
> >assignment after the added NULL check).
> >Using MONO_TYPE_STRING is also very likely wrong at least
> >conceptually. Please post also a test case.
> > 
> >
> Maybe yes but it seems to me that it is exactly same hack as Microsoft 
> added to handle this null value. I think they don't update a specification.

Ok, if you checked it has the same value it's fine, but add a comment
to the source.
Feel free to commit (also the test case) after updating the C code
as discussed.


lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better

More information about the Mono-devel-list mailing list