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.
C# – Visual Studio 2017: Display method references
cvisual studiovisual-studio-2017
Related Topic
- Visual-studio – How to add an existing directory tree to a project in Visual Studio
- Visual-studio – Difference between Build Solution, Rebuild Solution, and Clean Solution in Visual Studio
- Visual-studio – How to auto format code in Visual Studio
- C# – How to call asynchronous method from synchronous method in C#
- Visual-studio – Can you force Visual Studio to always run as an Administrator in Windows 8
- Visual-studio – Error message “No exports were found that match the constraint contract name”
Best Answer
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 some Community Edition versions