Felix Mohr
Felix Mohr
What data type is your _words ? I actually had the exact same issue. Turns our this only works on Arrays and Spans, as those are know to the compiler....
And one more update: Seem to work with this and the other package if you just add that missing method, I got that from the blog link I posted. You...
Last update (for now). I modified the method a bit to be closer to the original from https://source.dot.net/#System.Private.CoreLib/src/libraries/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.cs. I did some quick tests including casting the array to object[] etc.,...