[c#] Visual Studio 2017: Display method references

How can I display the references on top of a method declaration?
I looked for it in the Visual Studio properties, but could not find it.

This question is related to c# visual-studio visual-studio-2017

The answer is


In Visual Studio Professional or Enterprise you can enable CodeLens by doing this:

Tools ? Options ? Text Editor ? All Languages ? CodeLens

This is not available in the Community Edition


Similar questions with c# tag:

Similar questions with visual-studio tag:

Similar questions with visual-studio-2017 tag: