[Mono-devel-list] Mono - MS .NET incompatibility concerning namespaces?
Miguel de Icaza
miguel at ximian.com
Tue Sep 7 11:01:28 EDT 2004
Hello,
> Since it is in everyone's best interest to keep Mono as compatible as
> possible with MS .NET, this may be worth a look at. It seems like an
> assumption MS .NET makes, and Mono does not, and thus could pose
> problems to port MS .NET applications to Mono in the future.
The problem is a bug in the compiler, the following sample reproduces
this bug:
using System;
class X {
public delegate void EventHandler (object a);
public event EventHandler A;
}
class Y {
void Do (X x)
{
x.A += new X.EventHandler (a);
}
void a (object s)
{
}
static void Main ()
{
}
}
Miguel.
More information about the Mono-devel-list
mailing list