Code inspection: Component of the tuple is never used
This inspection reports a component of a method's return tuple when callers never use that component. It usually means the tuple returns more data than its callers actually need.
Example
public (int first, int second, int third) GetValues()
{
return (1, 2, 3);
}
var (first, _, third) = GetValues();
Quick-fix
There is no dedicated quick-fix for this inspection. A typical improvement is to simplify the returned tuple shape if the extra component is not part of the intended API.
13 April 2026