Re: [Mono-dev] C# pointer dereference NRE bug

2007-10-02 Thread StApostol
Filed as bug #330069 (https://bugzilla.novell.com/show_bug.cgi?id=330069) ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-dev] C# pointer dereference NRE bug

2007-10-02 Thread Jb Evain
On 10/2/07, StApostol <[EMAIL PROTECTED]> wrote: > The following code runs correctly under .Net but produces an NRE under Mono > 1.2.5 (both mcs and gmcs): It's a mcs/gmcs bug. The csc compiled version executes fine on Mono 1.2.5, while the mcs compiled version fails with the same exception on .ne

[Mono-dev] C# pointer dereference NRE bug

2007-10-02 Thread StApostol
The following code runs correctly under .Net but produces an NRE under Mono 1.2.5 (both mcs and gmcs): using System; namespace Bug { unsafe class Demo { static void Foo(int[] data) { fixed (int* data_ptr = data) { /* Do something */ } } public static void M