Visual Studio C# Code Lens - why are references listed for properties but not fields?

Viewed 437

In Visual Studio 2017 Enterprise, I noticed that for any class properties (w/ get/set), the Code Lens lists the number of references right above the property. But for class fields, this is not true. Here's a screen shot:

enter image description here

Does anyone know why? Or how I can get Visual Studio to also list references for fields?

0 Answers
Related