The following code incorrectly causes S1854: remove this useless assignment to local variable ‘x’
private int Bar() => 1;
public (int,int) Foo()
{
var x = Bar();
return (1, x);
}
This is with scanner version 8.3.0.14607