Closed SergeiPavlov closed 4 months ago
I see this will not work because of "Unloading feature"
CanLoadInstanceOfAssemblyAndUnloadItAfterOnActivatedInModule
test
We have all of the reflection-related caches centralized to allow for unloading assembly load contexts. I'm guessing that's why some of those tests are failing.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 78.52%. Comparing base (
b843130
) to head (3fe2ddf
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thank you.
Refactored to use ReflectionCacheSet
We see in Profiler that
.GetCustomAttribute()
is a hotspot. Memoizing it will improve performance.