ReSharper 2024.1 Help

Code inspection: Unassigned field (private accessibility)

This inspection reports private fields that are used in some operations or returned by a method, but are never assigned a value. This often indicates that some part of your code is not functioning as intended, or that the field is redundant and should be removed, or that the field should be initialized from a constructor .

Last modified: 06 June 2024