Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#2738) Update container registration for .NET 4.8
There has been a change in how GetCustomAttribute works between .NET 4.0 and .NET 4.8. Previously, this worked without any problems, but in .NET 4.8, it errors with a message regarding duplicate types found. In order to work around this, we make use of GetCustomAttributes and then filter the list from there, as/when required.
- Loading branch information