Browse Source

Stylecop remove trailing whitespace

pull/33/head
James Jackson-South 10 years ago
parent
commit
90cd120259
  1. 2
      src/ImageSharp/Colors/Colorspaces/CieLab.cs
  2. 4
      src/ImageSharp/Formats/Jpg/JpegEncoderCore.cs
  3. 2
      src/ImageSharp/Formats/Png/PngDecoderCore.cs
  4. 4
      src/ImageSharp/Image/PixelAccessor.cs

2
src/ImageSharp/Colors/Colorspaces/CieLab.cs

@ -86,7 +86,7 @@ namespace ImageSharp
// Now to LAB // Now to LAB
x /= 0.95047F; x /= 0.95047F;
// y /= 1F; // y /= 1F;
z /= 1.08883F; z /= 1.08883F;

4
src/ImageSharp/Formats/Jpg/JpegEncoderCore.cs

@ -850,7 +850,7 @@ namespace ImageSharp.Formats
Block b = new Block(); Block b = new Block();
Block cb = new Block(); Block cb = new Block();
Block cr = new Block(); Block cr = new Block();
// ReSharper disable once InconsistentNaming // ReSharper disable once InconsistentNaming
int prevDCY = 0, prevDCCb = 0, prevDCCr = 0; int prevDCY = 0, prevDCCb = 0, prevDCCr = 0;
@ -880,7 +880,7 @@ namespace ImageSharp.Formats
Block b = new Block(); Block b = new Block();
Block[] cb = new Block[4]; Block[] cb = new Block[4];
Block[] cr = new Block[4]; Block[] cr = new Block[4];
// ReSharper disable once InconsistentNaming // ReSharper disable once InconsistentNaming
int prevDCY = 0, prevDCCb = 0, prevDCCr = 0; int prevDCY = 0, prevDCCb = 0, prevDCCr = 0;

2
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. // Zero out the previousScanline, because the bytes that are rented from the arraypool may not be zero.
Array.Clear(previousScanline, 0, this.bytesPerScanline); Array.Clear(previousScanline, 0, this.bytesPerScanline);
try try
{ {
for (int y = 0; y < this.header.Height; y++) for (int y = 0; y < this.header.Height; y++)

4
src/ImageSharp/Image/PixelAccessor.cs

@ -106,7 +106,7 @@ namespace ImageSharp
{ {
get get
{ {
#if DEBUG #if DEBUG
if (x < 0 || x >= this.Width) if (x < 0 || x >= this.Width)
{ {
throw new ArgumentOutOfRangeException(nameof(x), x, $"{x} is outwith the image bounds."); throw new ArgumentOutOfRangeException(nameof(x), x, $"{x} is outwith the image bounds.");
@ -122,7 +122,7 @@ namespace ImageSharp
set set
{ {
#if DEBUG #if DEBUG
if (x < 0 || x >= this.Width) if (x < 0 || x >= this.Width)
{ {
throw new ArgumentOutOfRangeException(nameof(x), x, $"{x} is outwith the image bounds."); throw new ArgumentOutOfRangeException(nameof(x), x, $"{x} is outwith the image bounds.");

Loading…
Cancel
Save