vendredi 5 août 2016

How to find all the methods within the assemblies of the application in which a method has been called?

I've got a property called Status that has a setter.

How to find all the methods in which this method has been set and also to know what value has been set to it. Something similar to Visual Studio Find Usages feature. It needs to look at all assemblies referenced from current assembly.

var setMethodInfo = typeof(ErrorDetails).GetProperty("Status").SetMethod;
// Find Usages? which methods using this within the solution?





Aucun commentaire:

Enregistrer un commentaire