diff --git a/src/libraries/System.IO.Hashing/src/System/IO/Hashing/XxHash128.cs b/src/libraries/System.IO.Hashing/src/System/IO/Hashing/XxHash128.cs index 103e7ce6a659f6..a9deb0d322a0d4 100644 --- a/src/libraries/System.IO.Hashing/src/System/IO/Hashing/XxHash128.cs +++ b/src/libraries/System.IO.Hashing/src/System/IO/Hashing/XxHash128.cs @@ -223,7 +223,6 @@ private static void WriteBigEndian128(in Hash128 hash, Span destination) Unsafe.WriteUnaligned(ref Unsafe.AddByteOffset(ref dest0, new IntPtr(sizeof(ulong))), low); } - [MethodImpl(MethodImplOptions.AggressiveInlining)] private static Hash128 HashLength0To16(byte* source, uint length, ulong seed) { if (length > 8) diff --git a/src/libraries/System.IO.Hashing/src/System/IO/Hashing/XxHash3.cs b/src/libraries/System.IO.Hashing/src/System/IO/Hashing/XxHash3.cs index 525346246e80ad..702409b949d451 100644 --- a/src/libraries/System.IO.Hashing/src/System/IO/Hashing/XxHash3.cs +++ b/src/libraries/System.IO.Hashing/src/System/IO/Hashing/XxHash3.cs @@ -196,7 +196,6 @@ public ulong GetCurrentHashAsUInt64() return current; } - [MethodImpl(MethodImplOptions.AggressiveInlining)] private static ulong HashLength0To16(byte* source, uint length, ulong seed) { if (length > 8)