Hi Robert and Marco,

the static keyword for a class definition seems to be new in .NET 2.0.
This is why cscc doesn't support it yet.

There are some other 2.0 features used in mono which cscc can't handle yet.

i never worked on compilers but i hope that i can fix some of these issues.

Cheers,

Klaus
> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED]
> Gesendet: 12.01.07 16:27:21
> An: [email protected]
> Betreff: Re: [DotGNU] Finding the right mono version for ml-pnet?


> 
> 
> Hi Robert,
> I faced the same problem some time ago
> 
> > And, by the way, System.Security seems to be broken in current CVS:
> 
> ...... ->  this is the relevant error line:
> >Cryptography/ManagedProtection.cs:53: `static' cannot be used in this
> > context
> > *** Target `all' for project `System.Security' failed ***
> > *** Project `System.Security' build failed ***
> > ----------8<----------8<----------8<----------8<----------8<----------
> >
> > Any idea?
> 
>  the dotgnu compiler complains about the following construct in
> class
>  ./class/System.Security/Mono.Security.Cryptography/ManagedProtection.cs: ++ 
>  53         internal static class ManagedProtection {
> 
> I filed a bug report to the mono developers, and
> their answer was that  this statement is fully ECMA compliant.
> 
> My guess is that our compiler handles C# syntax in a more "pedantic"  way
>  than mono's one, but I do not know all of the nuances of C# syntax.
> 
> Marco
> 
> 
> _______________________________________________
> Developers mailing list
> [email protected]
> http://dotgnu.org/mailman/listinfo/developers
> 


_______________________________________________________________________
Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222

_______________________________________________
Developers mailing list
[email protected]
http://dotgnu.org/mailman/listinfo/developers

Reply via email to