Visual Studio 2017: Display method references

FADI1987 picture FADI1987 · Mar 14, 2017 · Viewed 131.7k times · Source

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.

Answer

ISHIDA picture ISHIDA · Mar 14, 2017

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