This is an extension of Smocks for mocking Generic methods in external libraries. It is a forked git library from "feng3245/Smocks". Smocks is a library for mocking the normally unmockable. It can mock static and non-virtual methods and properties, amongst others.
Updated the internal dependency with Mono.Cecil which solved the PDBWriterException issue.
Install-Package Smocks.ExtensionPackage -Version 0.7.5-beta2
dotnet add package Smocks.ExtensionPackage --version 0.7.5-beta2
<PackageReference Include="Smocks.ExtensionPackage" Version="0.7.5-beta2" />
paket add Smocks.ExtensionPackage --version 0.7.5-beta2
This package has no dependencies.