R#7 Grouping different items into one region
I'm having trouble with the reordering.
Basically, I want to group all things that have to do with Disposing into one region (and not just the one method that actually implements IDisposable).
So I have this template:
<!--IDisposable and finalizer-->
<Entry>
<Match>
<Or Weight="100">
<And>
<Kind Is="field"/>
<Name Is="disposed"/>
</And>
<And>
<Kind Is="method"/>
<Name Is="Dispose"/>
</And>
<Kind Is="destructor"/>
</Or>
</Match>
<Sort>
<Kind/>
</Sort>
<Group>
<Name Region="IDisposable"/>
</Group>
</Entry>
But this creates a region for every single item so it creates up to 3 regions with the same name, one for the boolean field called disposed, one for the Dispose and Dispose(bool disposing) method and one for the finalizer.
How do I get all of these together in the same region?
Please sign in to leave a comment.