[Mono-bugs] [Bug 337401] New: Monodoc will list a property as "Protected" if one of its accessors is protected

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Oct 28 01:51:45 EDT 2007


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

           Summary: Monodoc will list a property as "Protected" if one of
                    its accessors is protected
           Product: Mono: Doctools
           Version: 1.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Core
        AssignedTo: mario.sopena at gmail.com
        ReportedBy: lunchtimemama at gmail.com
         QAContact: mono-bugs at ximian.com
          Found By: Documentation


Consider the following code:

public class A
{
    private string b;
    public string B
    {
        get { return b; }
        protected set { b = value; }
    }
}

When run on this code, monodoc will list A.B as a protected property. I'm not
exactly sure what the correct way to handle this is, but I think that listing
the whole property as protected is confusing.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list