[Mono-dev] Managed pointers and explicit layout, bug or feature?

Miguel de Icaza miguel at ximian.com
Thu Oct 26 12:53:37 EDT 2006


> It seems that mono won't allow me to put an unaligned reference inside
> an object... Is this correct? I looked both inside the ECMA 334 and
> 335 standards and I didn't find anything preventing me from having an
> unaligned reference field inside an object but maybe I'm wrong... What
> do you think about this? mcs doesn't give me any warning when
> compiling the code. The test was done with mono-1.1.17

Neither Mono or .NET will allow you to do this.



More information about the Mono-devel-list mailing list