Component of the return tuple is never used

Good morning,

I am currently on the latest version of ReShaper Ultimate and I am experiencing an issue which I don't believe is an issue.

The following method signature is giving me the warning "Component of the return tuple is never used":

private static (AssessmentAnswerSummary LeftAnswer, AssessmentAnswerSummary RightAnswer) ReadMatchingRecord(IDataRecord record, int i)

However, where I am actually consuming this code is as follows:

var answers = reader

command.AssessmentQuestionDetails.AnswersLeft = await answers.Select(t => t.LeftAnswer).ToArray();
command.AssessmentQuestionDetails.AnswersRight = await answers.Select(t => t.RightAnswer).ToArray();

Why would I be receiving this warning?

Please sign in to leave a comment.