JetBrains Rider 2024.1 Help

Code inspection: Non-accessed local variable

This inspection reports local variables that are assigned a value, but are never used in any operation or returned by any method. This often indicates that some part of your code is not functioning as intended, or that the variable is redundant and should be removed to improve the readability.

Last modified: 05 June 2024