Skip to content

Commit 46c0cb5

Browse files
committed
Fix 'IDE0350' warnings (simplify lambda expressions)
1 parent 3570067 commit 46c0cb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ComputeSharp.D2D1.Tests/Effects/BokehBlurEffect.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ internal sealed partial class VerticalConvolution
481481
/// <summary>
482482
/// The <see cref="D2D1DrawTransformMapper{T}"/> for the shader.
483483
/// </summary>
484-
public static D2D1DrawTransformMapper<Shader> Transform { get; } = D2D1DrawTransformMapper<Shader>.Inflate(static (in Shader shader) => (0, shader.kernelLength, 0, shader.kernelLength));
484+
public static D2D1DrawTransformMapper<Shader> Transform { get; } = D2D1DrawTransformMapper<Shader>.Inflate(static (in shader) => (0, shader.kernelLength, 0, shader.kernelLength));
485485

486486
/// <summary>
487487
/// Kernel for the vertical convolution pass for real or imaginary components.
@@ -528,7 +528,7 @@ internal sealed partial class HorizontalConvolutionAndAccumulatePartials
528528
/// <summary>
529529
/// The <see cref="D2D1DrawTransformMapper{T}"/> for the shader.
530530
/// </summary>
531-
public static D2D1DrawTransformMapper<Shader> Transform { get; } = D2D1DrawTransformMapper<Shader>.Inflate(static (in Shader shader) => (shader.kernelLength, 0, shader.kernelLength, 0));
531+
public static D2D1DrawTransformMapper<Shader> Transform { get; } = D2D1DrawTransformMapper<Shader>.Inflate(static (in shader) => (shader.kernelLength, 0, shader.kernelLength, 0));
532532

533533
/// <summary>
534534
/// Kernel for the horizontal convolution pass.

0 commit comments

Comments
 (0)