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

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=412865#c1


Martin Baulig <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |[EMAIL 
PROTECTED]




--- Comment #1 from Martin Baulig <[EMAIL PROTECTED]>  2008-07-29 04:14:46 MDT 
---
Accessing properties in generic classes got broken due to an accident, I'll
have a look at this after generics sharing has been implemented in the
debugger.

======
public class Foo<T>
{
    public readonly T Data;

    public Foo (T t)
    {
        this.Data = t;
    }

    public T GetData {
        get {
            return Data;
        }
    }
}

class X
{
    static void Main ()
    {
        Foo<int> foo = new Foo<int> (3);
        Console.WriteLine (foo.GetData);    // @MDB BREAKPOINT: test
    }
}
======

======
    AssertHitBreakpoint (thread, "test", "X.Main()");
    AssertPrint (thread, "foo.GetData", "(int) 3");
======


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to