On Mon, 2011-03-14 at 14:08 -0700, vg wrote:
> Hi,
> 
> Can we add wildcard characters in the gendarme.ignore file so as to
> exclude a method by its signature and not the fullname (mentioning
> namespace, type etc)?

The only wildcard presently supported is for a lone * for assemblies,
e.g. "A: *"

This is useful when you want to ignore a rule for every assemblies
without a custom rules.xml file.

> For example,  for a particular rule, if I want to exclude all methods
> having the name InitializeComponent(), irrespective of the assemblies
> they are in......is there a way to do that using wildcard characters,
> instead of specifying each one of them with their full names...(the
> usual way of ignoring methods)

That could be useful (even if I fear it will be often misused, adding
entries force you to consider each case ;-)

Please fill a bug report, Enhancement, for this. Instructions (if
needed) are available @
https://github.com/spouliot/gendarme/wiki/BugReports

Thanks!
Sebastien

-- 
You received this message because you are subscribed to the Google Groups 
"Gendarme" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/gendarme?hl=en.

Reply via email to