Closed levdimov closed 3 years ago
Thanks for the report, I'll take a look shortly! I honestly hoped I have ironed all generic-related issues with fire long ago :)
should be fixed in release 2.4.2
Unfortunately, inheritors from base class above with another aspect don't work now failing with the same error.
[TestAspect2]
internal class ArgumentsTests_GenericClassConstructorChainTargetImpl : ArgumentsTests_GenericClassConstructorChainTarget<string>
{
}
Alright, I reopen the issue!
@levdimov could you please try v2.4.3 ?
Sorry for late response.
2.4.3 seems to work well. No problems as of yet.
First of all, thank you for you library! It seems like we may drop our own code and replace it with this beauty.
Generic class (abstract or not) with constructor chain cannot be processed if aspect is set on a class declaration.
Similar to https://github.com/pamidur/aspect-injector/issues/38
Here is an example based on ArgumentsTests: