Using PolySharp and some extra shims, it is fairly simply to support a .NET Standard 2.0 target.
The consuming application will need to explicitly set <LangVersion>10</LangVersion> or later to use the library properly.
NB: I couldn't run the tests against .NET 8.0, since I'm not using the VS2022 preview. But they ran successfully against .NET Framework 4.8, .NET 5, .NET 6, and .NET 7.
Using PolySharp and some extra shims, it is fairly simply to support a .NET Standard 2.0 target.
The consuming application will need to explicitly set
<LangVersion>10</LangVersion>
or later to use the library properly.NB: I couldn't run the tests against .NET 8.0, since I'm not using the VS2022 preview. But they ran successfully against .NET Framework 4.8, .NET 5, .NET 6, and .NET 7.