c# - How would I be able to find all un-called methods in Visual Studio? -
is there functionality in visual studio allow me see unused methods no longer being called within solution?
in versions prior , including visual studio 2013, ultimate version provided code lens, show number of references particular method or class. visual studio 2015 bring feature everyone, not privileged ultimate owners. if don't have ultimate in current version, can right click on method , select find references
. neat option right click , select view call hierarchy
. show calls , method.
if you're open third party options, resharper fantastic job of showing unused elements. https://www.jetbrains.com/resharper/
Comments
Post a Comment