REFACTOR: Sort and removed usings.

This commit is contained in:
2017-12-19 19:33:46 +00:00
parent fed73af450
commit 77edc7c91c
344 changed files with 368 additions and 547 deletions

View File

@@ -34,14 +34,14 @@ using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using DiscImageChef.CommonTypes;
using DiscImageChef.Console;
using System.Text;
using DiscImageChef.Filters;
namespace DiscImageChef.ImagePlugins
{
public class Alcohol120 : ImagePlugin
public class Alcohol120 : ImagePlugin
{
#region Internal Structures
[StructLayout(LayoutKind.Sequential, Pack = 1)]

View File

@@ -29,16 +29,14 @@
// ----------------------------------------------------------------------------
// Copyright © 2011-2018 Natalia Portillo
// ****************************************************************************/
using System;
using System.IO;
using System.Collections.Generic;
using DiscImageChef.Console;
using DiscImageChef.CommonTypes;
using System.Linq;
using System.Text;
using DiscImageChef.Filters;
using System.IO;
using System.Runtime.InteropServices;
using DiscImageChef.Decoders.Floppy;
using DiscImageChef.CommonTypes;
using DiscImageChef.Console;
using DiscImageChef.Filters;
namespace DiscImageChef.ImagePlugins
{

View File

@@ -34,13 +34,13 @@ using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using DiscImageChef.Console;
using DiscImageChef.CommonTypes;
using DiscImageChef.Console;
using DiscImageChef.Filters;
namespace DiscImageChef.ImagePlugins
{
public class Apple2MG : ImagePlugin
public class Apple2MG : ImagePlugin
{
#region Internal Structures

View File

@@ -34,9 +34,7 @@ using System;
using System.Collections.Generic;
using System.IO;
using DiscImageChef.CommonTypes;
using DiscImageChef.Console;
using DiscImageChef.Filters;
using System.Globalization;
namespace DiscImageChef.ImagePlugins
{

View File

@@ -29,6 +29,7 @@
// ----------------------------------------------------------------------------
// Copyright © 2011-2018 Natalia Portillo
// ****************************************************************************/
using System;
using System.Collections.Generic;
using System.IO;

View File

@@ -33,13 +33,13 @@
using System;
using System.Collections.Generic;
using System.IO;
using DiscImageChef.Console;
using DiscImageChef.CommonTypes;
using DiscImageChef.Console;
using DiscImageChef.Filters;
namespace DiscImageChef.ImagePlugins
{
public class BLU : ImagePlugin
public class BLU : ImagePlugin
{
#region Internal Structures
struct BLUHeader

View File

@@ -32,18 +32,18 @@
using System;
using System.Collections.Generic;
using System.IO;
using DiscImageChef.CommonTypes;
using System.Linq;
using System.Text;
using DiscImageChef.Console;
using System.Runtime.InteropServices;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using DiscImageChef.CommonTypes;
using DiscImageChef.Console;
using DiscImageChef.Filters;
namespace DiscImageChef.ImagePlugins
{
public class BlindWrite4 : ImagePlugin
public class BlindWrite4 : ImagePlugin
{
#region Internal Constants
/// <summary>"BLINDWRITE TOC FILE"</summary>

View File

@@ -32,19 +32,19 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using DiscImageChef.CommonTypes;
using DiscImageChef.Console;
using DiscImageChef.Decoders.SCSI.MMC;
using System.Text;
using System.Globalization;
using DiscImageChef.Filters;
namespace DiscImageChef.ImagePlugins
{
public class BlindWrite5 : ImagePlugin
public class BlindWrite5 : ImagePlugin
{
#region Internal Constants
/// <summary>"BWT5 STREAM SIGN"</summary>

View File

@@ -33,17 +33,17 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Text.RegularExpressions;
using DiscImageChef.Console;
using DiscImageChef.CommonTypes;
using System.Text;
using System.Text.RegularExpressions;
using DiscImageChef.CommonTypes;
using DiscImageChef.Console;
using DiscImageChef.Filters;
namespace DiscImageChef.ImagePlugins
{
// TODO: Doesn't support compositing from several files
// TODO: Doesn't support silences that are not in files
public class CDRDAO : ImagePlugin
// TODO: Doesn't support compositing from several files
// TODO: Doesn't support silences that are not in files
public class CDRDAO : ImagePlugin
{
#region Internal structures

View File

@@ -30,19 +30,19 @@
// Copyright © 2011-2018 Natalia Portillo
// ****************************************************************************/
// TODO: Implement track flags
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections.Generic;
using DiscImageChef.Console;
using DiscImageChef.CommonTypes;
using DiscImageChef.Console;
using DiscImageChef.Filters;
namespace DiscImageChef.ImagePlugins
{
public class CDRWin : ImagePlugin
// TODO: Implement track flags
public class CDRWin : ImagePlugin
{
#region Internal structures

View File

@@ -43,7 +43,7 @@ using DiscImageChef.Filters;
namespace DiscImageChef.ImagePlugins
{
public class CPCDSK : ImagePlugin
public class CPCDSK : ImagePlugin
{
#region Internal constants
/// <summary>

View File

@@ -29,6 +29,7 @@
// ----------------------------------------------------------------------------
// Copyright © 2011-2018 Natalia Portillo
// ****************************************************************************/
using System;
using System.Collections.Generic;
using System.IO;

View File

@@ -40,7 +40,7 @@ using DiscImageChef.Filters;
namespace DiscImageChef.ImagePlugins
{
public class CopyQM : ImagePlugin
public class CopyQM : ImagePlugin
{
#region Internal Structures
[StructLayout(LayoutKind.Sequential, Pack = 1)]

View File

@@ -29,16 +29,17 @@
// ----------------------------------------------------------------------------
// Copyright © 2011-2018 Natalia Portillo
// ****************************************************************************/
using System;
using System.IO;
using System.Collections.Generic;
using DiscImageChef.Console;
using DiscImageChef.CommonTypes;
using System.IO;
using System.Linq;
using System.Text;
using DiscImageChef.Filters;
using System.Runtime.InteropServices;
using System.Text;
using DiscImageChef.CommonTypes;
using DiscImageChef.Console;
using DiscImageChef.Decoders.Floppy;
using DiscImageChef.Filters;
namespace DiscImageChef.ImagePlugins
{

View File

@@ -31,17 +31,17 @@
// ****************************************************************************/
using System;
using System.IO;
using System.Collections.Generic;
using DiscImageChef.Console;
using DiscImageChef.CommonTypes;
using System.IO;
using System.Linq;
using System.Text;
using DiscImageChef.CommonTypes;
using DiscImageChef.Console;
using DiscImageChef.Filters;
namespace DiscImageChef.ImagePlugins
{
public class DIM : ImagePlugin
public class DIM : ImagePlugin
{
#region Internal enumerations
enum DiskType : byte

View File

@@ -32,18 +32,15 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using DiscImageChef.CommonTypes;
using DiscImageChef.Console;
using DiscImageChef.Filters;
namespace DiscImageChef.ImagePlugins
{
public class DiscFerret : ImagePlugin
public class DiscFerret : ImagePlugin
{
#region Internal Structures
[StructLayout(LayoutKind.Sequential, Pack = 1)]

View File

@@ -42,8 +42,8 @@ using DiscImageChef.Filters;
namespace DiscImageChef.ImagePlugins
{
// Checked using several images and strings inside Apple's DiskImages.framework
public class DiskCopy42 : ImagePlugin
// Checked using several images and strings inside Apple's DiskImages.framework
public class DiskCopy42 : ImagePlugin
{
#region Internal Structures

View File

@@ -33,14 +33,11 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Runtime.InteropServices;
using System.Text.RegularExpressions;
using Claunia.RsrcFork;
using DiscImageChef.CommonTypes;
using DiscImageChef.Console;
using DiscImageChef.Filters;
using System.Security.Cryptography.X509Certificates;
using System.Runtime.InteropServices;
namespace DiscImageChef.ImagePlugins
{

View File

@@ -34,15 +34,15 @@ using System;
using System.Collections.Generic;
using System.IO;
using System.Text.RegularExpressions;
using DiscImageChef.Console;
using DiscImageChef.CommonTypes;
using DiscImageChef.Console;
using DiscImageChef.Filters;
namespace DiscImageChef.ImagePlugins
{
// TODO: There seems no be no clear definition on how to treat pregaps that are not included in the file, so this is just appending it to start of track
// TODO: This format doesn't support to specify pregaps that are included in the file (like Redump ones)
public class GDI : ImagePlugin
// TODO: There seems no be no clear definition on how to treat pregaps that are not included in the file, so this is just appending it to start of track
// TODO: This format doesn't support to specify pregaps that are included in the file (like Redump ones)
public class GDI : ImagePlugin
{
#region Internal structures

View File

@@ -64,16 +64,16 @@
*/
using System;
using System.IO;
using System.Collections.Generic;
using DiscImageChef.Console;
using DiscImageChef.CommonTypes;
using DiscImageChef.Filters;
using System.IO;
using System.Runtime.InteropServices;
using DiscImageChef.CommonTypes;
using DiscImageChef.Console;
using DiscImageChef.Filters;
namespace DiscImageChef.ImagePlugins
{
public class HDCopy : ImagePlugin
public class HDCopy : ImagePlugin
{
#region Internal structures
/// <summary>

View File

@@ -33,13 +33,11 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using System.Text.RegularExpressions;
using DiscImageChef.CommonTypes;
using DiscImageChef.Console;
using DiscImageChef.Filters;
using System.Text;
using System.Linq;
namespace DiscImageChef.ImagePlugins
{

View File

@@ -36,7 +36,7 @@ using DiscImageChef.CommonTypes;
namespace DiscImageChef.ImagePlugins
{
public struct ImageInfo
public struct ImageInfo
{
public bool imageHasPartitions;
public bool imageHasSessions;

View File

@@ -37,10 +37,10 @@ using DiscImageChef.Filters;
namespace DiscImageChef.ImagePlugins
{
/// <summary>
/// Abstract class to implement disk image reading plugins.
/// </summary>
public abstract class ImagePlugin
/// <summary>
/// Abstract class to implement disk image reading plugins.
/// </summary>
public abstract class ImagePlugin
{
/// <summary>Plugin name.</summary>
public string Name;

View File

@@ -34,16 +34,14 @@ using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using DiscImageChef.CommonTypes;
using DiscImageChef.Console;
using DiscImageChef.Filters;
namespace DiscImageChef.ImagePlugins
{
public class KryoFlux : ImagePlugin
public class KryoFlux : ImagePlugin
{
#region Internal Structures
[StructLayout(LayoutKind.Sequential, Pack = 1)]

View File

@@ -34,7 +34,6 @@ using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
using System.Text.RegularExpressions;
using DiscImageChef.CommonTypes;
using DiscImageChef.Console;
using DiscImageChef.Filters;

View File

@@ -29,16 +29,16 @@
// ----------------------------------------------------------------------------
// Copyright © 2011-2018 Natalia Portillo
// ****************************************************************************/
using System;
using System.IO;
using System.Collections.Generic;
using DiscImageChef.Console;
using DiscImageChef.CommonTypes;
using System.IO;
using System.Linq;
using System.Text;
using DiscImageChef.Filters;
using System.Runtime.InteropServices;
using DiscImageChef.Decoders.Floppy;
using System.Text;
using DiscImageChef.CommonTypes;
using DiscImageChef.Console;
using DiscImageChef.Filters;
namespace DiscImageChef.ImagePlugins
{

View File

@@ -31,16 +31,16 @@
// ****************************************************************************/
using System;
using System.IO;
using System.Collections.Generic;
using DiscImageChef.Console;
using DiscImageChef.CommonTypes;
using DiscImageChef.Filters;
using System.IO;
using System.Linq;
using DiscImageChef.CommonTypes;
using DiscImageChef.Console;
using DiscImageChef.Filters;
namespace DiscImageChef.ImagePlugins
{
public class Nero : ImagePlugin
public class Nero : ImagePlugin
{
#region Internal structures

View File

@@ -33,16 +33,16 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
using DiscImageChef.ImagePlugins;
using System.Linq;
using System.Runtime.InteropServices;
using DiscImageChef.CommonTypes;
using DiscImageChef.Console;
using DiscImageChef.Filters;
using DiscImageChef.ImagePlugins;
namespace DiscImageChef.DiscImages
{
public class Parallels : ImagePlugin
public class Parallels : ImagePlugin
{
#region Internal constants
readonly byte[] ParallelsMagic = { 0x57, 0x69, 0x74, 0x68, 0x6F, 0x75, 0x74, 0x46, 0x72, 0x65, 0x65, 0x53, 0x70, 0x61, 0x63, 0x65 };

View File

@@ -33,12 +33,12 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
using DiscImageChef.ImagePlugins;
using System.Linq;
using System.Runtime.InteropServices;
using DiscImageChef.CommonTypes;
using DiscImageChef.Console;
using DiscImageChef.Filters;
using DiscImageChef.ImagePlugins;
using Extents;
namespace DiscImageChef.DiscImages

View File

@@ -33,13 +33,12 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
using DiscImageChef.ImagePlugins;
using System.Linq;
using System.Runtime.InteropServices;
using DiscImageChef.CommonTypes;
using DiscImageChef.Console;
using DiscImageChef.Filters;
using System.Text;
using DiscImageChef.ImagePlugins;
using Extents;
namespace DiscImageChef.DiscImages

View File

@@ -31,7 +31,6 @@
// ****************************************************************************/
using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.

View File

@@ -42,7 +42,7 @@ using SharpCompress.Compressors.Deflate;
namespace DiscImageChef.ImagePlugins
{
public class QCOW : ImagePlugin
public class QCOW : ImagePlugin
{
#region Internal constants
/// <summary>

View File

@@ -42,7 +42,7 @@ using SharpCompress.Compressors.Deflate;
namespace DiscImageChef.ImagePlugins
{
public class QCOW2 : ImagePlugin
public class QCOW2 : ImagePlugin
{
#region Internal constants
/// <summary>

View File

@@ -40,7 +40,7 @@ using DiscImageChef.Filters;
namespace DiscImageChef.ImagePlugins
{
public class QED : ImagePlugin
public class QED : ImagePlugin
{
#region Internal constants
/// <summary>

View File

@@ -29,13 +29,14 @@
// ----------------------------------------------------------------------------
// Copyright © 2011-2018 Natalia Portillo
// ****************************************************************************/
using System;
using System.IO;
using System.Collections.Generic;
using DiscImageChef.CommonTypes;
using System.IO;
using System.Linq;
using DiscImageChef.Filters;
using System.Runtime.InteropServices;
using DiscImageChef.CommonTypes;
using DiscImageChef.Filters;
using static DiscImageChef.Decoders.ATA.Identify;
namespace DiscImageChef.ImagePlugins

View File

@@ -42,7 +42,7 @@ using DiscImageChef.Filters;
namespace DiscImageChef.ImagePlugins
{
public class SuperCardPro : ImagePlugin
public class SuperCardPro : ImagePlugin
{
#region Internal Structures
[StructLayout(LayoutKind.Sequential, Pack = 1)]

View File

@@ -29,16 +29,13 @@
// ----------------------------------------------------------------------------
// Copyright © 2011-2018 Natalia Portillo
// ****************************************************************************/
using System;
using System.IO;
using System.Collections.Generic;
using DiscImageChef.Console;
using System.IO;
using DiscImageChef.CommonTypes;
using System.Linq;
using System.Text;
using DiscImageChef.Console;
using DiscImageChef.Filters;
using System.Runtime.InteropServices;
using DiscImageChef.Decoders.Floppy;
namespace DiscImageChef.ImagePlugins
{

View File

@@ -36,10 +36,10 @@
// ****************************************************************************/
using System;
using System.IO;
using System.Collections.Generic;
using DiscImageChef.Console;
using System.IO;
using DiscImageChef.CommonTypes;
using DiscImageChef.Console;
using DiscImageChef.Filters;
namespace DiscImageChef.ImagePlugins

View File

@@ -38,11 +38,11 @@ using Claunia.PropertyList;
using Claunia.RsrcFork;
using DiscImageChef.CommonTypes;
using DiscImageChef.Console;
using DiscImageChef.ImagePlugins;
using DiscImageChef.Filters;
using SharpCompress.Compressors.BZip2;
using DiscImageChef.ImagePlugins;
using SharpCompress.Compressors;
using SharpCompress.Compressors.ADC;
using SharpCompress.Compressors.BZip2;
namespace DiscImageChef.DiscImages
{

View File

@@ -29,6 +29,7 @@
// ----------------------------------------------------------------------------
// Copyright © 2011-2018 Natalia Portillo
// ****************************************************************************/
using System;
using System.Collections.Generic;
using System.IO;

View File

@@ -36,12 +36,12 @@ using System.IO;
using System.Runtime.InteropServices;
using DiscImageChef.CommonTypes;
using DiscImageChef.Console;
using DiscImageChef.ImagePlugins;
using DiscImageChef.Filters;
using DiscImageChef.ImagePlugins;
namespace DiscImageChef.DiscImages
{
public class VDI : ImagePlugin
public class VDI : ImagePlugin
{
#region Internal constants
const uint VDIMagic = 0xBEDA107F;

View File

@@ -33,21 +33,21 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Runtime.InteropServices;
using DiscImageChef.Console;
using System.Text;
using DiscImageChef.CommonTypes;
using DiscImageChef.Console;
using DiscImageChef.Filters;
namespace DiscImageChef.ImagePlugins
{
/// <summary>
/// Supports Connectix/Microsoft Virtual PC hard disk image format
/// Until Virtual PC 5 there existed no format, and the hard disk image was
/// merely a sector by sector (RAW) image with a resource fork giving
/// information to Virtual PC itself.
/// </summary>
public class VHD : ImagePlugin
/// <summary>
/// Supports Connectix/Microsoft Virtual PC hard disk image format
/// Until Virtual PC 5 there existed no format, and the hard disk image was
/// merely a sector by sector (RAW) image with a resource fork giving
/// information to Virtual PC itself.
/// </summary>
public class VHD : ImagePlugin
{
#region Internal Structures

View File

@@ -41,7 +41,7 @@ using DiscImageChef.Filters;
namespace DiscImageChef.ImagePlugins
{
public class VHDX : ImagePlugin
public class VHDX : ImagePlugin
{
#region Internal Structures

View File

@@ -38,12 +38,12 @@ using System.Runtime.InteropServices;
using System.Text.RegularExpressions;
using DiscImageChef.CommonTypes;
using DiscImageChef.Console;
using DiscImageChef.ImagePlugins;
using DiscImageChef.Filters;
using DiscImageChef.ImagePlugins;
namespace DiscImageChef.DiscImages
{
public class VMware : ImagePlugin
public class VMware : ImagePlugin
{
#region Internal constants
const uint VMwareExtentMagic = 0x564D444B;

View File

@@ -29,16 +29,16 @@
// ----------------------------------------------------------------------------
// Copyright © 2011-2018 Natalia Portillo
// ****************************************************************************/
using System;
using System.IO;
using System.Collections.Generic;
using DiscImageChef.Console;
using DiscImageChef.CommonTypes;
using System.IO;
using System.Linq;
using System.Text;
using DiscImageChef.Filters;
using System.Runtime.InteropServices;
using DiscImageChef.Decoders.Floppy;
using System.Text;
using DiscImageChef.CommonTypes;
using DiscImageChef.Console;
using DiscImageChef.Filters;
namespace DiscImageChef.ImagePlugins
{

View File

@@ -39,7 +39,7 @@ using DiscImageChef.Filters;
namespace DiscImageChef.ImagePlugins
{
public class ZZZRawImage : ImagePlugin
public class ZZZRawImage : ImagePlugin
{
#region Internal variables