These are re-compilations of .NET sources to provide support on .NET Framework 4.0. They are compatible with the official versions although some of the sources may be newer than the official release and contain newer behaviors. The public API surface is the same as the original release.
Our goal is to provide support for newer APIs that Microsoft didn't make available on .NET Framework 4.0 so you can modernize your code even if you cannot yet upgrade. These libraries are also useful for class libraries that multi-target and would ordinarily be forced to add conditional compilation sections to their code.
These packages have tests to confirm compatibility and are strongly named, so they can be used just like the original packages from Microsoft.
Package | Link |
---|---|
NetFx.System.Buffers | |
NetFx.System.Memory | |
NetFx.System.Runtime.CompilerServices.Unsafe |
If you find these libraries to be useful, please star us on GitHub and consider a sponsorship so we can continue bringing you great free tools like these. It really would make a big difference!