Inspectopedia Help

Use of possibly unassigned property in a static initializer

Reports a class member initializer which references another non-hoisted class member while the latter may be not initialized yet.

Initialization of class members happens consequently for fields, so a field cannot reference another field that is declared later.

Last modified: 29 April 2024