[Mono-bugs] [Bug 418125] New: Pointers and fixed size buffers may only be used in an unsafe context( CS0214)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Aug 18 16:24:09 EDT 2008


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 at lists.ximian.com
        ReportedBy: palango at gmx.de
         QAContact: mono-bugs at 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.


More information about the mono-bugs mailing list