[Mono-bugs] [Bug 376826] New: Missing CS1686

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 3 11:49:41 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=376826

User msafar at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=376826#c1

           Summary: Missing CS1686
           Product: Mono: Compilers
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: msafar at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Case #1

using System;

unsafe struct S
{
        public fixed int i[10];
}

class C
{
        static void Main()
        {
                unsafe {
                        S str;
                        Func<int> e = () => str.i [3];
                }
        }
}


Case #2

using System;

unsafe struct S
{
        public int i;
}

class C
{
        unsafe delegate int* D ();

        static void Main()
        {
                unsafe {
                        S str = new S ();
                        D d = () => &str.i;
                }
        }
}


-- 
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