From 7e0a43bcdb3d1f81b90f50e50d33f158f8771838 Mon Sep 17 00:00:00 2001 From: Anton Firszov Date: Fri, 5 Feb 2021 18:35:10 +0100 Subject: [PATCH] change inlining options for RowOctet.Update() --- src/ImageSharp/Formats/Jpeg/Components/RowOctet.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ImageSharp/Formats/Jpeg/Components/RowOctet.cs b/src/ImageSharp/Formats/Jpeg/Components/RowOctet.cs index f35bb44682..16d24cf814 100644 --- a/src/ImageSharp/Formats/Jpeg/Components/RowOctet.cs +++ b/src/ImageSharp/Formats/Jpeg/Components/RowOctet.cs @@ -75,7 +75,7 @@ namespace SixLabors.ImageSharp.Formats.Jpeg.Components } } - [MethodImpl(MethodImplOptions.AggressiveInlining)] + [MethodImpl(InliningOptions.ShortMethod)] public void Update(Buffer2D buffer, int startY) { // We don't actually have to assign values outside of the