diff --git a/src/ImageSharp/Processing/Processors/Transforms/Resize/ResizeKernel.cs b/src/ImageSharp/Processing/Processors/Transforms/Resize/ResizeKernel.cs
index 35d1931d0e..d94aeffe69 100644
--- a/src/ImageSharp/Processing/Processors/Transforms/Resize/ResizeKernel.cs
+++ b/src/ImageSharp/Processing/Processors/Transforms/Resize/ResizeKernel.cs
@@ -61,9 +61,7 @@ namespace SixLabors.ImageSharp.Processing.Processors.Transforms
/// The weighted sum
[MethodImpl(InliningOptions.ShortMethod)]
public Vector4 Convolve(Span rowSpan)
- {
- return this.ConvolveCore(ref rowSpan[this.StartIndex]);
- }
+ => this.ConvolveCore(ref rowSpan[this.StartIndex]);
[MethodImpl(InliningOptions.ShortMethod)]
public Vector4 ConvolveCore(ref Vector4 rowStartRef)
@@ -91,9 +89,7 @@ namespace SixLabors.ImageSharp.Processing.Processors.Transforms
///
[MethodImpl(InliningOptions.ShortMethod)]
internal ResizeKernel AlterLeftValue(int left)
- {
- return new ResizeKernel(left, this.bufferPtr, this.Length);
- }
+ => new ResizeKernel(left, this.bufferPtr, this.Length);
internal void Fill(Span values)
{
diff --git a/src/ImageSharp/Processing/Processors/Transforms/Resize/ResizeWorker.cs b/src/ImageSharp/Processing/Processors/Transforms/Resize/ResizeWorker.cs
index 764349884d..e7207c7e63 100644
--- a/src/ImageSharp/Processing/Processors/Transforms/Resize/ResizeWorker.cs
+++ b/src/ImageSharp/Processing/Processors/Transforms/Resize/ResizeWorker.cs
@@ -105,14 +105,10 @@ namespace SixLabors.ImageSharp.Processing.Processors.Transforms
[MethodImpl(InliningOptions.ShortMethod)]
public Span GetColumnSpan(int x, int startY)
- {
- return this.transposedFirstPassBuffer.GetRowSpan(x).Slice(startY - this.currentWindow.Min);
- }
+ => this.transposedFirstPassBuffer.GetRowSpan(x).Slice(startY - this.currentWindow.Min);
public void Initialize()
- {
- this.CalculateFirstPassValues(this.currentWindow);
- }
+ => this.CalculateFirstPassValues(this.currentWindow);
public void FillDestinationPixels(RowInterval rowInterval, Buffer2D destination)
{