Doraku / DefaultDocumentation

Create a simple markdown documentation from the Visual Studio xml one.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Access modifiers on getters / setters are not taken into account

bucurb opened this issue · comments

When documenting a class property with a getter / setter access modifier like below:

public class A
{
    public int B { get; internal set; }
}

The documentation generated with GeneratedAccessModifiers set to Public shows:

A.B Property

public bool B { get; set; }

The setter is marked as internal though, so it should read:

public bool B { get; }