roslynator
roslynator copied to clipboard
Named arguments -> Forced?
Hi!
I am looking for a rule that forced devs to use named arguments. Any rules for this in Roslynator?
Hi,
such rule can be definitely implemented but is it really useful to put named arguments everywhere?
Everywhere for sure not. But for this reason we can:
dotnet_diagnostic.RCSxxxxxx.severity=none
:)
Ok, I will ask more precisely: What is the real use case for this kind of a rule.
I'm asking because I would like to avoid implementing a rule that turns out to be practically useless.
@JosefPihrt : Real use cases: stackoverflow
require-named-args-fs exists already but you need to add an attribute to the method...
dotnet_diagnostic.RCSxxxxxx.severity=none
is better :)