https://bugzilla.novell.com/show_bug.cgi?id=418125
Summary: Pointers and fixed size buffers may only be used in an unsafe context(CS0214) Product: Mono: Compilers Version: unspecified Platform: Other OS/Version: All Status: NEW Severity: Normal Priority: P5 - None Component: C# AssignedTo: mono-bugs@lists.ximian.com ReportedBy: [EMAIL PROTECTED] QAContact: mono-bugs@lists.ximian.com Found By: --- I tried to compile this libary: https://code.launchpad.net/~hartke/bzr-visualstudio/bazaar On windows (.net 2.0) everything works as expected but on mono I get errors at building. the problematic lines are : (in ClrType.cs) public static unsafe readonly TernaryFunc tp_call = Call; public static unsafe readonly DescrGetFunc tp_descr_get = GetDescriptor; public static unsafe readonly HashFunc tp_hash = Hash; public static unsafe readonly InitProc tp_init = Initialize; public static unsafe readonly NewFunc tp_new = New; And the error is : Pointers and fixed size buffers may only be used in an unsafe context(CS0214) I don't have any knowledge on unmanaged-managed code stuff, so I don't know which behavior is correct. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs