[Mono-list] Custom attributes setting return type
Ravi Pratap M
14 Apr 2003 17:46:09 -0500
> > other hand, does provide the appropriate methods so if you compiled this
> > with the Mono runtime, it would compile with no warnings.
> Strange - it was only when I compiled with Mono that I got these warnings...
Woops, I meant to say that you also have to ensure that mcs uses the
Mono runtime when it is compiling, not the .NET runtime. If you did:
$ mcs file.cs
then try :
$ mono /path/to/mcs.exe file.cs