CleanCode icon indicating copy to clipboard operation
CleanCode copied to clipboard

Exclude certain methods from the analysis

Open llewelynrex opened this issue 6 years ago • 1 comments

When implementing IList or something similar, the Add method is flagged as not being descriptive enough. The ability to add some standard function names which could be ignored would be great (exclusion list). Especially if they come from the .NET framework itself.

llewelynrex avatar Mar 23 '18 20:03 llewelynrex

Another example is any class implementing System.Windows.Data.IMultiValueConverter.

Both methods public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) raises the following warning:

this method requires too many arguments

itsho avatar Jul 02 '18 08:07 itsho