Closed Tornhoof closed 5 months ago
Deleted earlier incorrect comment, misread the changes 🤦♂️
This actually fixes a bug as the .NET 7+ onwards it is invalid to rely on dummy GCHandle
for the blittability check (see https://github.com/dotnet/runtime/pull/68694)
This ports the change done by @paulusparssinen done in https://github.com/microsoft/garnet/pull/36 to FASTER. This only applies to the builds for .NET STANDARD 2.1 and 6_0+ as otherwise the helper method is not available, the reflection method is also still used in the code.