diff --git a/src/ImageSharp/Colors/Colorspaces/CieLab.cs b/src/ImageSharp/Colors/Colorspaces/CieLab.cs index f817ae12b..d71f0b43f 100644 --- a/src/ImageSharp/Colors/Colorspaces/CieLab.cs +++ b/src/ImageSharp/Colors/Colorspaces/CieLab.cs @@ -86,7 +86,7 @@ namespace ImageSharp // Now to LAB x /= 0.95047F; - + // y /= 1F; z /= 1.08883F; diff --git a/src/ImageSharp/Formats/Jpg/JpegEncoderCore.cs b/src/ImageSharp/Formats/Jpg/JpegEncoderCore.cs index 69161eb02..82a99010f 100644 --- a/src/ImageSharp/Formats/Jpg/JpegEncoderCore.cs +++ b/src/ImageSharp/Formats/Jpg/JpegEncoderCore.cs @@ -850,7 +850,7 @@ namespace ImageSharp.Formats Block b = new Block(); Block cb = new Block(); Block cr = new Block(); - + // ReSharper disable once InconsistentNaming int prevDCY = 0, prevDCCb = 0, prevDCCr = 0; @@ -880,7 +880,7 @@ namespace ImageSharp.Formats Block b = new Block(); Block[] cb = new Block[4]; Block[] cr = new Block[4]; - + // ReSharper disable once InconsistentNaming int prevDCY = 0, prevDCCb = 0, prevDCCr = 0; diff --git a/src/ImageSharp/Formats/Png/PngDecoderCore.cs b/src/ImageSharp/Formats/Png/PngDecoderCore.cs index 91578aede..97bf00522 100644 --- a/src/ImageSharp/Formats/Png/PngDecoderCore.cs +++ b/src/ImageSharp/Formats/Png/PngDecoderCore.cs @@ -341,7 +341,7 @@ namespace ImageSharp.Formats // Zero out the previousScanline, because the bytes that are rented from the arraypool may not be zero. Array.Clear(previousScanline, 0, this.bytesPerScanline); - + try { for (int y = 0; y < this.header.Height; y++) diff --git a/src/ImageSharp/Image/PixelAccessor.cs b/src/ImageSharp/Image/PixelAccessor.cs index 5b1305047..fc460870c 100644 --- a/src/ImageSharp/Image/PixelAccessor.cs +++ b/src/ImageSharp/Image/PixelAccessor.cs @@ -106,7 +106,7 @@ namespace ImageSharp { get { -#if DEBUG +#if DEBUG if (x < 0 || x >= this.Width) { throw new ArgumentOutOfRangeException(nameof(x), x, $"{x} is outwith the image bounds."); @@ -122,7 +122,7 @@ namespace ImageSharp set { -#if DEBUG +#if DEBUG if (x < 0 || x >= this.Width) { throw new ArgumentOutOfRangeException(nameof(x), x, $"{x} is outwith the image bounds.");