Prevent specific C# regions from beeing removed by Code Cleanup
Hi,
following Situation: We use customized team-shared Resharper-Settings that involve a customized File Format for our classes. As we do not like to have #regions in general, we let the cleanup remove all regions (configured withing the custom FileLayout).
Now we want to accept #regions in some edge cases, so we need a way to prevent these specific regions from beeing removed by the automtic cleanup.
Is this possible somehow?
Something likeSnippet
// ReSharper disable once RemoveRegions
?
(which does not work, because there is no rule named 'RemoveRegions')
Thanks,
J.D.
Please sign in to leave a comment.