mono/mono-tools — pull request #16 by krijesta (2011-12-13 07:43:34+00:00)
Title: Gendarme: Add support for glob-like '*' in the ignore file syntax

This changeset adds support to Gendarme to allow glob like "*" matches to be used in the ignore files.

The * can be used in any of the fields (other than Namespace) allowing either a single rule to easily be ignored in a variety of positions or multiple rules in a single location.

An example of this use would be to ignore the AvoidUncalledPrivateCode rule in any Type in "NUnit" or "Test" namespace, as the test functions can be private, and are called through reflection - having to add a new entry each time you add a new unit test would just be annoying.