[Mono-devel-list] [MCS PATCH] Improve standards compliance of type and name resolution

Mike Kestner mkestner at novell.com
Fri Jan 7 13:06:19 EST 2005


On Fri, 2005-01-07 at 18:32 +0530, Raja R Harinath wrote:

>       ... PanelApplet.Foo ... // b
>     }
>   }
> 
> which assumes the two references in lines (a) and (b) refer to the
> member 'Foo' of the namespace PanelApplet.  However, the C# name-lookup
> rules disagree, and will try to lookup 'Foo' in the the class
> PanelApplet.  (I currently don't have a full setup on Windows, and so
> cannot fully test Gtk# with CSC.  But, I'm sure you'll see the issue
> when you compile it with CSC too.)

PanelApplet isn't compiled on win32, for obvious reasons, but I tried a
similar test case with csc and it fails as you expected.  I'm working on
merging the panelapplet binding into gnome-sharp under the Gnome
namespace which should resolve this issue.  Hopefully I'll have that
done today.

-- 
Mike Kestner <mkestner at novell.com>




More information about the Mono-devel-list mailing list