Title: Default parameters should not be used
Description:
Methods that use default parameters are allowed under the CLS; however, the CLS lets compilers ignore the values that are assigned to these parameters. To maintain the behavior that you want across programming languages, methods that use default parameters should be replaced by method overloads that provide the default parameters.
Dependency: None
Notes:
Replace with a "breaking change" analyzer
@lgolding, why is this rule deprecated? Issue https://www.reddit.com/r/csharp/comments/8xz6ez/method_overloading_vs_default_parameters/ no longer exists? Where is more complex information on this?
I would also like more information on this
Most helpful comment
@lgolding, why is this rule deprecated? Issue https://www.reddit.com/r/csharp/comments/8xz6ez/method_overloading_vs_default_parameters/ no longer exists? Where is more complex information on this?