* Remove spurious assertion check causing .NET Core crashes
Co-authored-by: Aaron Robinson <arobins@microsoft.com>
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
// jumps as much as possible in the optimistic case of "all ASCII". If we see non-ASCII
// data, we jump out of the hot paths to targets at the end of the method.
- Debug.Assert(Vector256.IsHardwareAccelerated, "Vector256 is required.");
+ // Commented out to workaround https://github.com/dotnet/runtime/issues/90265
+ // Debug.Assert(Vector256.IsHardwareAccelerated, "Vector256 is required.");
Debug.Assert(BitConverter.IsLittleEndian, "This implementation assumes little-endian.");
Debug.Assert(elementCount >= 2 * Vector256.Size);