Select method arguments style based on arguments count

It would be nice to have ability to configure code style settings with the rule like "if the number of arguments is less than four, use positional arguments, otherwise always use named arguments". Because it really makes sense to use expicit named arguments when you have to pass 10+ arguments (e.g. for constructor dependency injection), but there's no need for using named arguments in methods like Add(T) of List<T>.

P. S. Sorry for imperfect English.

0

Please sign in to leave a comment.