Browse Source

Remove unneeded using statements

pull/1570/head
Andrew Wilkinson 9 years ago
parent
commit
ef2302dfee
  1. 23
      .vscode/launch.json
  2. 2
      src/ImageSharp/Formats/Tiff/Constants/TiffConstants.cs
  3. 1
      src/ImageSharp/Formats/Tiff/TiffDecoder.cs
  4. 2
      src/ImageSharp/Formats/Tiff/TiffDecoderCore.cs
  5. 2
      src/ImageSharp/Formats/Tiff/TiffEncoderOptions.cs
  6. 1
      tests/ImageSharp.Formats.Tiff.Tests/Formats/Tiff/TiffDecoderHeaderTests.cs
  7. 1
      tests/ImageSharp.Formats.Tiff.Tests/Formats/Tiff/TiffDecoderIfdTests.cs
  8. 1
      tests/ImageSharp.Formats.Tiff.Tests/TestUtilities/ByteArrayUtility.cs
  9. 1
      tests/ImageSharp.Formats.Tiff.Tests/TestUtilities/Tiff/ITiffGenDataSource.cs
  10. 1
      tests/ImageSharp.Formats.Tiff.Tests/TestUtilities/Tiff/TiffGenDataBlock.cs
  11. 3
      tests/ImageSharp.Formats.Tiff.Tests/TestUtilities/Tiff/TiffGenDataReference.cs
  12. 5
      tests/ImageSharp.Formats.Tiff.Tests/TestUtilities/Tiff/TiffGenHeader.cs

23
.vscode/launch.json

@ -0,0 +1,23 @@
{
"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceRoot}\\build\\bin\\Debug\\netcoreapp1.1\\build.dll",
"args": [],
"cwd": "${workspaceRoot}\\build",
"console": "internalConsole",
"stopAtEntry": false,
"internalConsoleOptions": "openOnSessionStart"
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"processId": "${command:pickProcess}"
}
]
}

2
src/ImageSharp/Formats/Tiff/Constants/TiffConstants.cs

@ -5,8 +5,6 @@
namespace ImageSharp.Formats
{
using System.Text;
/// <summary>
/// Defines constants defined in the TIFF specification.
/// </summary>

1
src/ImageSharp/Formats/Tiff/TiffDecoder.cs

@ -5,7 +5,6 @@
namespace ImageSharp.Formats
{
using System;
using System.IO;
/// <summary>

2
src/ImageSharp/Formats/Tiff/TiffDecoderCore.cs

@ -7,9 +7,7 @@ namespace ImageSharp.Formats
{
using System;
using System.IO;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
/// <summary>
/// Performs the tiff decoding operation.

2
src/ImageSharp/Formats/Tiff/TiffEncoderOptions.cs

@ -6,7 +6,7 @@
namespace ImageSharp.Formats
{
/// <summary>
/// Encapsulates the options for the <see cref="JTiffEncoder"/>.
/// Encapsulates the options for the <see cref="TiffEncoder"/>.
/// </summary>
public sealed class TiffEncoderOptions : EncoderOptions, ITiffEncoderOptions
{

1
tests/ImageSharp.Formats.Tiff.Tests/Formats/Tiff/TiffDecoderHeaderTests.cs

@ -6,7 +6,6 @@
namespace ImageSharp.Tests
{
using System.IO;
using System.Linq;
using Xunit;
using ImageSharp.Formats;

1
tests/ImageSharp.Formats.Tiff.Tests/Formats/Tiff/TiffDecoderIfdTests.cs

@ -6,7 +6,6 @@
namespace ImageSharp.Tests
{
using System.IO;
using System.Linq;
using Xunit;
using ImageSharp.Formats;

1
tests/ImageSharp.Formats.Tiff.Tests/TestUtilities/ByteArrayUtility.cs

@ -6,7 +6,6 @@
namespace ImageSharp.Tests
{
using System;
using System.Collections.Generic;
public static class ByteArrayUtility
{

1
tests/ImageSharp.Formats.Tiff.Tests/TestUtilities/Tiff/ITiffGenDataSource.cs

@ -5,7 +5,6 @@
namespace ImageSharp.Tests
{
using System;
using System.Collections.Generic;
/// <summary>

1
tests/ImageSharp.Formats.Tiff.Tests/TestUtilities/Tiff/TiffGenDataBlock.cs

@ -5,7 +5,6 @@
namespace ImageSharp.Tests
{
using System;
using System.Collections.Generic;
/// <summary>

3
tests/ImageSharp.Formats.Tiff.Tests/TestUtilities/Tiff/TiffGenDataReference.cs

@ -5,9 +5,6 @@
namespace ImageSharp.Tests
{
using System;
using System.Collections.Generic;
/// <summary>
/// A utility data structure to represent a reference from one block of data to another in a Tiff file.
/// </summary>

5
tests/ImageSharp.Formats.Tiff.Tests/TestUtilities/Tiff/TiffGenHeader.cs

@ -5,7 +5,6 @@
namespace ImageSharp.Tests
{
using System;
using System.Collections.Generic;
using System.Linq;
@ -37,11 +36,11 @@ namespace ImageSharp.Tests
{
var firstIfdData = FirstIfd.GetData(isLittleEndian);
firstIfdData.First().AddReference(headerData.Bytes, 4);
return new [] { headerData }.Concat(firstIfdData);
return new[] { headerData }.Concat(firstIfdData);
}
else
{
return new [] { headerData };
return new[] { headerData };
}
}
}

Loading…
Cancel
Save