diff --git a/src/ImageSharp/Formats/Jpeg/Components/Block8x8.cs b/src/ImageSharp/Formats/Jpeg/Components/Block8x8.cs
index d119a18c8b..b417a8c814 100644
--- a/src/ImageSharp/Formats/Jpeg/Components/Block8x8.cs
+++ b/src/ImageSharp/Formats/Jpeg/Components/Block8x8.cs
@@ -15,25 +15,14 @@ namespace SixLabors.ImageSharp.Formats.Jpeg.Components;
/// 8x8 matrix of coefficients.
///
// ReSharper disable once InconsistentNaming
-[StructLayout(LayoutKind.Explicit)]
-internal unsafe partial struct Block8x8
+[StructLayout(LayoutKind.Explicit, Size = 2 * Size)]
+internal partial struct Block8x8
{
///
/// A number of scalar coefficients in a
///
public const int Size = 64;
-#pragma warning disable IDE0051 // Remove unused private member
- ///
- /// A placeholder buffer so the actual struct occupies exactly 64 * 2 bytes.
- ///
- ///
- /// This is not used directly in the code.
- ///
- [FieldOffset(0)]
- private fixed short data[Size];
-#pragma warning restore IDE0051
-
///
/// Gets or sets a value at the given index
///