[Mono-dev] gmcs bug with unsafe code

Marek Safar marek.safar at seznam.cz
Thu Aug 28 06:12:50 EDT 2008


Hello Dan,
>
> Hi,
>
> I’ve been trying out gmcs, running on Ubuntu 8.04 amd64 and have 
> discovered a rather annoying fault:
>
> When compiling classes containing statements such as:
>
> namespace YYY {
>
> class XXX {
> private unsafe byte *_data;
>
> public unsafe byte *GetData() { return _data; }}
>
> }
>
> }
>
> The compiler will notify of a failure:
>
> error CS3003: Type of `YYY.XXX._data' is not CLS-compliant
>
Thanks for the report. This issue has been fixed.

Please use Mono bugzilla next time for C# compiler bug reports.

Regards
Marek


More information about the Mono-devel-list mailing list