JetBrains Rider 2018.2 Help

Code Inspection: Join or separate 'var' in deconstruction declarations

This inspection checks the code style for using 'var' in declarations.
By default, JetBrains Rider will suggest joined notation for multiple var's in deconstruction declarations, e.g. var (x, y) = GetTuple();. You can select Prefer separate declarations for deconstructed variables on the Editor | Code Style | C# | Code Style page of JetBrains Rider settings to opt for separate notation, e.g. (var x, var y) = GetTuple();.

Last modified: 21 December 2018

See Also