I\'ve searched but didn\'t find any info on how to disable references (or the codelens completely) in the Visual Studio Code, they\'re quite useless and annoying for me.
I disabled it by going to file | preferences | settings
file | preferences | settings
Finally:
Workspace | Text Editor | (scroll down a little)