Closed FruitcakeElemental closed 4 years ago
Thanks for the PR. We have removed the MemoryType stuff from C5 altogether so default constructors are back. It's in NuGet as a 3.0.0-beta release. Hope that helps (and sorry for taking a full year to respond)
Ok cool, but that memory type stuff was one of the main reasons I'm using C5. I looked at the pull request, what changes in unity are you referring to?
This is a week old quote from Giovanni who implemented the memory stuff in the first place: "Since Unity 5.6 they updated to the latest version of the Mono Runtime. Thus Unity doesn't suffer from that garbage generation issue anymore. Feel free to remove all of the memory safe stuff."
Updated collections to have a default constructor where missing, to make them compatible with new() generic constraints.