[Mono-bugs] [Bug 337399] New: monodoc will generate documentation for protected members of sealed classes

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Oct 28 00:41:59 EDT 2007


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

           Summary: monodoc will generate documentation for protected
                    members of sealed classes
           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 example:

public abstract class BaseClass
{
    protected abstract string foo { get; }
    public void Baz()
    {
        Console.WriteLine(foo);
    }
}

public sealed class ConcreteClass : BaseClass
{
    protected override string foo { get { return "bar" } };
}

When run on this assembly, monodoc will generate documentation for the property
foo, even though it is a protected field in a sealed class and thus can never
be accessed by any external code.


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