Generic attributes handling in CustomAttributeDecoder (#72561)
* Add handling of generic attributes to CustomAttributeDecoder
If the attribute constructor refers to the generic T in its signature, we would throw `BadImageFormatException`. This adds handling by capturing the generic context and interpreting the signature variables when needed.
* Add tests
Co-authored-by: NMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Showing
想要评论请 注册 或 登录