Override all matching methods based on predicate

I want to profile "almost all of methods in my codebase". Meaning I want to measure with stopwatch all methods which are from certain namespace. I don't want to decorate manually 100s of methods. I want to setup a Predicate which will filter all methods in DLL and if passed certain attribute will be applied to the method. From one place. Is anything like that possible? Metalama: Latest, VisualStudio Version: JetBrains Rider latest .Net: Latest
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?