[Mono-bugs] [Bug 483234] [FlowAnalysis] bad code when using structs with properties (CS0171)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Mar 11 10:45:15 EDT 2009


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

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


Marek Safar <msafar at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msafar at novell.com
            Version|2.2.x                       |SVN
            Summary|gmcs allows bad code when   |[FlowAnalysis] bad code
                   |using automatic properties  |when using structs with
                   |with structs                |properties (CS0171)




--- Comment #2 from Marek Safar <msafar at novell.com>  2009-03-11 08:45:14 MST ---

public struct Tuple
{
    public Tuple(int first)
    {
        First = true;
    }

    bool First { set {} }

    int i;
}

Actual: No error reported
Expected: CS0171

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