Remove unused usings

This commit is contained in:
ScottNZ
2013-11-12 17:34:58 +13:00
parent 86a3e14f2d
commit 00ec1ca87a
269 changed files with 3 additions and 477 deletions

View File

@@ -19,7 +19,6 @@
#endregion
using System;
using System.IO;
namespace GeoIP
{

View File

@@ -19,7 +19,6 @@
#endregion
using System;
using System.IO;
namespace GeoIP
{

View File

@@ -19,7 +19,6 @@
#endregion
using System;
using System.IO;
namespace GeoIP
{

View File

@@ -19,7 +19,6 @@
#endregion
using System;
using System.IO;
public class Region
{

View File

@@ -9,7 +9,6 @@
#endregion
using System.Drawing;
using OpenRA.GameRules;
using OpenRA.Traits;
namespace OpenRA.Editor

View File

@@ -8,7 +8,6 @@
*/
#endregion
using System;
using System.Drawing;
using System.Drawing.Imaging;
using OpenRA.FileFormats;

View File

@@ -11,7 +11,6 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Reflection;

View File

@@ -10,7 +10,6 @@
using System;
using System.IO;
using System.Text;
namespace OpenRA.FileFormats
{

View File

@@ -9,11 +9,8 @@
#endregion
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
namespace OpenRA.FileFormats
{

View File

@@ -10,7 +10,6 @@
using System.Collections.Generic;
using System.IO;
using System;
namespace OpenRA.FileFormats
{

View File

@@ -11,7 +11,6 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace OpenRA.FileFormats
{

View File

@@ -9,9 +9,7 @@
#endregion
using System;
using System.IO;
using System.Linq;
namespace OpenRA.FileFormats
{

View File

@@ -10,7 +10,6 @@
using System;
using System.Drawing;
using System.IO;
namespace OpenRA.FileFormats.Graphics
{

View File

@@ -9,8 +9,6 @@
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
namespace OpenRA
{

View File

@@ -8,7 +8,6 @@
*/
#endregion
using System;
using System.Collections;
using System.Collections.Generic;
using System.Drawing;

View File

@@ -11,9 +11,7 @@
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Reflection;
namespace OpenRA.FileFormats
{

View File

@@ -9,7 +9,6 @@
#endregion
using System;
using System.Collections.Generic;
using System.IO;

View File

@@ -8,11 +8,6 @@
*/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using OpenRA.FileFormats;
namespace OpenRA
{
public struct Hotkey

View File

@@ -8,9 +8,7 @@
*/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
namespace OpenRA
{

View File

@@ -8,9 +8,6 @@
*/
#endregion
using System;
using System.Drawing;
namespace OpenRA.FileFormats
{
public class PlayerReference

View File

@@ -10,8 +10,6 @@
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Reflection;

View File

@@ -8,7 +8,6 @@
*/
#endregion
using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;

View File

@@ -9,7 +9,6 @@
#endregion
using System.Collections.Generic;
using System;
using System.Drawing;
namespace OpenRA.FileFormats

View File

@@ -11,9 +11,6 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Net;
namespace OpenRA
{

View File

@@ -9,7 +9,6 @@
#endregion
using System;
using System.Drawing;
namespace OpenRA
{

View File

@@ -8,10 +8,8 @@
*/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Drawing;
namespace OpenRA
{

View File

@@ -8,8 +8,6 @@
*/
#endregion
using System;
using System.Drawing;
using System.Linq;
namespace OpenRA

View File

@@ -8,9 +8,6 @@
*/
#endregion
using System;
using System.Drawing;
namespace OpenRA
{
/// <summary>

View File

@@ -9,7 +9,6 @@
#endregion
using System;
using System.Drawing;
namespace OpenRA
{

View File

@@ -11,7 +11,6 @@
using System;
using System.Collections.Generic;
using OpenRA.Graphics;
using OpenRA.Traits;
namespace OpenRA.Effects
{

View File

@@ -10,7 +10,6 @@
using System.Collections.Generic;
using OpenRA.Graphics;
using OpenRA.Traits;
namespace OpenRA.Effects
{

View File

@@ -9,10 +9,7 @@
#endregion
using System.Collections.Generic;
using OpenRA.Effects;
using OpenRA.FileFormats;
using OpenRA.Graphics;
using OpenRA.Traits;
namespace OpenRA.Effects
{

View File

@@ -10,12 +10,9 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using OpenRA.FileFormats;
using OpenRA.FileFormats.Graphics;
using OpenRA.Server;
namespace OpenRA.GameRules
{

View File

@@ -8,7 +8,6 @@
*/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using OpenRA.FileFormats;

View File

@@ -10,7 +10,6 @@
using System;
using System.Collections.Generic;
using OpenRA.Traits;
namespace OpenRA.Graphics
{

View File

@@ -8,7 +8,6 @@
*/
#endregion
using System.Collections.Generic;
using System.Drawing;
namespace OpenRA.Graphics

View File

@@ -8,8 +8,6 @@
*/
#endregion
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;

View File

@@ -10,11 +10,8 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml;
using OpenRA.FileFormats;
using OpenRA.Traits;
namespace OpenRA.Graphics
{

View File

@@ -8,7 +8,6 @@
*/
#endregion
using System.Xml;
using OpenRA.FileFormats;
namespace OpenRA.Graphics

View File

@@ -9,8 +9,6 @@
#endregion
using System.Drawing;
using System.IO;
using System.Xml;
using OpenRA.FileFormats;
using System.Collections.Generic;

View File

@@ -13,7 +13,6 @@ using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using OpenRA.FileFormats;
using OpenRA.Traits;
namespace OpenRA.Graphics

View File

@@ -9,7 +9,6 @@
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using OpenRA.FileFormats;
using OpenRA.FileFormats.Graphics;

View File

@@ -11,7 +11,6 @@
using System;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using OpenRA.FileFormats;
using SharpFont;

View File

@@ -8,7 +8,6 @@
*/
#endregion
using System.Drawing;
using System.IO;
using System.Linq;
using OpenRA.FileFormats;

View File

@@ -8,9 +8,6 @@
*/
#endregion
using System;
using System.Drawing;
using OpenRA.FileFormats;
using OpenRA.FileFormats.Graphics;
using OpenRA.Traits;

View File

@@ -9,7 +9,6 @@
#endregion
using System;
using System.Collections.Generic;
using System.Drawing;
namespace OpenRA.Graphics

View File

@@ -11,11 +11,8 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using OpenRA.FileFormats;
using OpenRA.FileFormats.Graphics;
using OpenRA.Traits;
namespace OpenRA.Graphics
{

View File

@@ -12,7 +12,6 @@ using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using OpenRA.Support;
namespace OpenRA.Graphics
{

View File

@@ -9,11 +9,8 @@
#endregion
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using OpenRA.FileFormats;
using OpenRA.FileFormats.Graphics;
namespace OpenRA.Graphics
{

View File

@@ -10,7 +10,6 @@
using System;
using System.Collections.Generic;
using OpenRA.Traits;
namespace OpenRA.Graphics
{

View File

@@ -8,7 +8,6 @@
*/
#endregion
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;

View File

@@ -14,7 +14,6 @@ using System.IO;
using System.Linq;
using OpenRA.FileFormats;
using OpenRA.Graphics;
using OpenRA.Traits;
using OpenRA.Widgets;
namespace OpenRA

View File

@@ -8,7 +8,6 @@
*/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;

View File

@@ -10,8 +10,6 @@
using System.Collections.Generic;
using System.Linq;
using System.Net.NetworkInformation;
using System.Threading;
namespace OpenRA.Network
{

View File

@@ -9,7 +9,6 @@
#endregion
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using OpenRA.FileFormats;

View File

@@ -10,7 +10,6 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using OpenRA.FileFormats;

View File

@@ -9,7 +9,6 @@
#endregion
using System;
using OpenRA.Network;
namespace OpenRA.Network
{

View File

@@ -11,8 +11,6 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace OpenRA.Network
{

View File

@@ -12,7 +12,6 @@ using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using OpenRA.Widgets;
namespace OpenRA.Network

View File

@@ -10,7 +10,6 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using OpenRA.FileFormats;

View File

@@ -11,8 +11,6 @@
using System;
using Mono.Nat;
using Mono.Nat.Pmp;
using Mono.Nat.Upnp;
namespace OpenRA.Network
{

View File

@@ -9,9 +9,7 @@
#endregion
using System.Collections.Generic;
using System.Linq;
using OpenRA.Graphics;
using OpenRA.Traits;
namespace OpenRA.Orders
{

View File

@@ -12,8 +12,6 @@ using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Net.NetworkInformation;
using System.Threading;
namespace OpenRA.Server
{

View File

@@ -11,7 +11,6 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System;
namespace OpenRA.Server
{

View File

@@ -9,12 +9,10 @@
#endregion
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.NetworkInformation;
using System.Net.Sockets;
using System.Threading;

View File

@@ -8,10 +8,8 @@
*/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OpenRA.Traits
{

View File

@@ -8,10 +8,6 @@
*/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using OpenRA.Graphics;
using OpenRA.FileFormats;
namespace OpenRA.Traits

View File

@@ -8,9 +8,6 @@
*/
#endregion
using System.Collections.Generic;
using OpenRA.Network;
namespace OpenRA.Traits
{
public class DebugPauseStateInfo : ITraitInfo

View File

@@ -10,7 +10,6 @@
using System.Drawing;
using OpenRA.Graphics;
using OpenRA.Effects;
using System.Collections.Generic;
namespace OpenRA.Traits

View File

@@ -8,8 +8,6 @@
*/
#endregion
using System;
namespace OpenRA.Traits
{
public class DeveloperModeInfo : ITraitInfo

View File

@@ -8,13 +8,10 @@
*/
#endregion
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using OpenRA.FileFormats;
using OpenRA.Graphics;
using OpenRA.Traits;
namespace OpenRA.Traits
{

View File

@@ -8,7 +8,6 @@
*/
#endregion
using System.Drawing;
using OpenRA.FileFormats;
using OpenRA.Graphics;

View File

@@ -10,7 +10,6 @@
using System;
using System.Linq;
using OpenRA.GameRules;
namespace OpenRA.Traits
{

View File

@@ -9,7 +9,6 @@
#endregion
using System.Linq;
using OpenRA.Network;
namespace OpenRA.Traits
{

View File

@@ -12,7 +12,6 @@ using System;
using System.Collections.Generic;
using System.Linq;
using OpenRA.Graphics;
using OpenRA.FileFormats;
namespace OpenRA.Traits
{

View File

@@ -10,7 +10,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using OpenRA.Graphics;
using OpenRA.FileFormats;

View File

@@ -8,7 +8,6 @@
*/
#endregion
using System.Drawing;
using System.Linq;
using OpenRA.Graphics;

View File

@@ -10,7 +10,6 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using OpenRA.Support;

View File

@@ -12,7 +12,6 @@ using System;
using System.Collections.Generic;
using System.Linq;
using OpenRA.FileFormats;
using OpenRA.Traits;
namespace OpenRA.Traits
{

View File

@@ -10,7 +10,6 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using OpenRA.Graphics;

View File

@@ -14,7 +14,6 @@ using System.Drawing;
using System.Linq;
using OpenRA.FileFormats;
using OpenRA.Graphics;
using OpenRA.Traits;
namespace OpenRA.Traits
{

View File

@@ -12,7 +12,6 @@ using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using OpenRA.Graphics;
namespace OpenRA.Traits
{

View File

@@ -9,10 +9,8 @@
#endregion
using System;
using System.Collections.Generic;
using System.Drawing;
using OpenRA.FileFormats;
using OpenRA.Graphics;
namespace OpenRA.Widgets
{

View File

@@ -26,9 +26,6 @@ namespace OpenRA.Widgets
internal List<ChatLine> recentLines = new List<ChatLine>();
public ChatDisplayWidget()
{ }
public override Rectangle EventBounds { get { return Rectangle.Empty; } }
public override void Draw()

View File

@@ -11,7 +11,6 @@
using System;
using System.Drawing;
using OpenRA.Graphics;
using System.Reflection;
namespace OpenRA.Widgets
{

View File

@@ -8,13 +8,7 @@
*/
#endregion
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Threading;
using OpenRA.FileFormats;
using OpenRA.Graphics;
using OpenRA.Network;
namespace OpenRA.Widgets

View File

@@ -11,8 +11,6 @@
using System;
using System.Drawing;
using System.Linq;
using OpenRA.Traits;
using OpenRA.Graphics;
namespace OpenRA.Widgets
{

View File

@@ -12,7 +12,6 @@ using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using OpenRA.FileFormats;
namespace OpenRA.Widgets
{

View File

@@ -16,8 +16,6 @@ namespace OpenRA.Widgets
{
public class PerfGraphWidget : Widget
{
public PerfGraphWidget() { }
public override void Draw()
{
var rect = RenderBounds;

View File

@@ -8,7 +8,6 @@
*/
#endregion
using System;
using System.Drawing;
namespace OpenRA.Widgets

View File

@@ -10,8 +10,6 @@
using System;
using System.Drawing;
using OpenRA.Traits;
using OpenRA.Graphics;
namespace OpenRA.Widgets
{

View File

@@ -8,12 +8,8 @@
*/
#endregion
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using OpenRA.FileFormats;
using OpenRA.Graphics;
using OpenRA.Widgets;
using System;
namespace OpenRA.Widgets

View File

@@ -10,7 +10,6 @@
using System;
using System.Linq;
using OpenRA;
using OpenRA.FileFormats;
using OpenRA.Traits;

View File

@@ -18,7 +18,6 @@ using OpenRA.Mods.RA.Activities;
using OpenRA.Mods.RA.Move;
using OpenRA.Scripting;
using OpenRA.Traits;
using OpenRA.Widgets;
namespace OpenRA.Mods.Cnc.Missions
{

View File

@@ -13,10 +13,7 @@ using System.Collections.Generic;
using System.Linq;
using OpenRA.FileFormats;
using OpenRA.Graphics;
using OpenRA.Mods.Cnc;
using OpenRA.Mods.RA;
using OpenRA.Mods.RA.Activities;
using OpenRA.Mods.RA.Air;
using OpenRA.Mods.RA.Buildings;
using OpenRA.Mods.RA.Missions;
using OpenRA.Mods.RA.Move;

View File

@@ -8,7 +8,6 @@
*/
#endregion
using System;
using System.Linq;
using OpenRA.FileFormats;
using OpenRA.Graphics;

View File

@@ -9,8 +9,6 @@
#endregion
using System;
using System.Linq;
using OpenRA.FileFormats;
using OpenRA.Widgets;
namespace OpenRA.Mods.Cnc.Widgets

View File

@@ -12,9 +12,7 @@ using System;
using System.IO;
using System.Linq;
using OpenRA.FileFormats;
using OpenRA.GameRules;
using OpenRA.Mods.RA.Widgets.Logic;
using OpenRA.Traits;
using OpenRA.Widgets;
namespace OpenRA.Mods.Cnc.Widgets.Logic

View File

@@ -9,10 +9,6 @@
#endregion
using System;
using System.Drawing;
using OpenRA.Mods.RA.Buildings;
using OpenRA.Mods.RA.Orders;
using OpenRA.Traits;
using OpenRA.Widgets;
namespace OpenRA.Mods.Cnc.Widgets.Logic

View File

@@ -8,9 +8,6 @@
*/
#endregion
using System;
using System.Drawing;
using OpenRA.FileFormats;
using OpenRA.Widgets;
namespace OpenRA.Mods.Cnc.Widgets

Some files were not shown because too many files have changed in this diff Show More