Billy
MCMetalama Community
•Created by Billy on 3/14/2025 in #technical-questions
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
1 replies