ReSharper 2026.1 Help

Code inspection: The tuple element name is ignored because a different name or no name is specified by the target type.

This inspection reports a tuple element name that will be ignored because the target type already defines different names, or no names at all. The warning means the name you wrote does not become part of the resulting tuple type. That can make the code misleading, because the tuple element is still accessed by the target type's names.

Example

class C { public (string x, int age) M() => (name: "", age: 10); }
class C { public (string x, int age) M() => (x: "", age: 10); }

Quick-fix

Depending on the situation, the quick-fix can either rename the element to match the target tuple name or remove the ignored name entirely.

21 April 2026