The following works with Resharper 5.1.1727. First, map the generic constructor
<Entry>
<Match>
<And>
<Kind Is="constructor"/>
<Access Is="public"/>
</And>
</Match>
<Sort>
<Static/>
</Sort>
</Entry>
The public listing is then displayed.
<Entry>
<Match>
<And Weight="100">
<Access Is="public"/>
<Kind Is="enum"/>
</And>
</Match>
<Sort>
<Name/>
</Sort>
</Entry>
Then the catch-all constructor is executed.
<Entry>
<Match>
<Kind Is="constructor"/>
</Match>
<Sort>
<Static/>
</Sort>
</Entry>
gets the following order
public class Child
{
public Child(int id)
{
}
public enum PublicParent
{
A = 1
}
private Child()
{
}
private enum Sibling
{
B = 4
}
}
source
share