All rules
IDE0033Language rules (expression-level preferences)
Use explicitly provided tuple name
Use explicitly provided tuple name
Microsoft docsDescription
This style rule concerns the use of explicit tuple names versus implicit 'ItemX' properties when accessing tuple fields.
Example
// dotnet_style_explicit_tuple_names = true
(string name, int age) customer = GetCustomer();
var name = customer.name;
// dotnet_style_explicit_tuple_names = false
(string, int) customer = GetCustomer();
var name = customer.Item1;Configurable options
Vote for the value each option should take in the generated .editorconfig.
dotnet_style_explicit_tuple_names default:
trueYour vote
Group results
0 yes 0 no
ConsensusNone (disabled)
Severity preference (yes voters)
Suggestion0
Warning0
Error0