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.
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