JetBrains Rider
 
2023.1
Get JetBrains Rider
You are viewing the documentation for an earlier version of JetBrains Rider.

Code Inspection: Use preferred argument style for literal values

Last modified: 08 March 2021

If you prefer to use named arguments for specific types of parameters, JetBrains Rider can help you enforce this practice.

By default, JetBrains Rider suggests using positional arguments, but you can opt for using named arguments with the corresponding selector in the Arguments group on the Editor | Code Style | C# | Syntax Style page of JetBrains Rider settings Ctrl+Alt+S. For more information about configuring and enforcing your preferences for positional/named arguments, see Code Syntax Style: Named/Positional Arguments.