Enable SA1209 and fix noncompliance
"Using alias directives should be placed after other using directives"
This commit is contained in:
parent
19b1578df9
commit
f061e4f876
|
@ -27,7 +27,6 @@ using BizHawk.Emulation.Cores.Computers.SinclairSpectrum;
|
|||
using BizHawk.Emulation.Cores.Arcades.MAME;
|
||||
using BizHawk.Emulation.DiscSystem;
|
||||
|
||||
using GPGX64 = BizHawk.Emulation.Cores.Consoles.Sega.gpgx;
|
||||
using BizHawk.Emulation.Cores.Consoles.Sega.Saturn;
|
||||
using BizHawk.Emulation.Cores.Consoles.NEC.PCFX;
|
||||
using BizHawk.Emulation.Cores.Computers.AmstradCPC;
|
||||
|
|
|
@ -4,11 +4,12 @@
|
|||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.InteropServices;
|
||||
using sd = System.Drawing;
|
||||
using System.Drawing.Imaging;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
|
||||
using sd = System.Drawing;
|
||||
|
||||
namespace BizHawk.Bizware.BizwareGL
|
||||
{
|
||||
/// <summary>
|
||||
|
|
|
@ -4,12 +4,13 @@ using System;
|
|||
using System.Diagnostics;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using sd = System.Drawing;
|
||||
using System.Drawing.Imaging;
|
||||
|
||||
using OpenTK;
|
||||
using OpenTK.Graphics.OpenGL;
|
||||
|
||||
using sd = System.Drawing;
|
||||
|
||||
namespace BizHawk.Bizware.BizwareGL
|
||||
{
|
||||
public class GDIPlusGuiRenderer : IGuiRenderer
|
||||
|
|
|
@ -6,11 +6,12 @@ using System;
|
|||
using System.Diagnostics;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using sd = System.Drawing;
|
||||
|
||||
using OpenTK;
|
||||
using OpenTK.Graphics.OpenGL;
|
||||
|
||||
using sd = System.Drawing;
|
||||
|
||||
namespace BizHawk.Bizware.BizwareGL
|
||||
{
|
||||
/// <summary>
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
using System;
|
||||
using System.IO;
|
||||
using System.Drawing;
|
||||
using swf=System.Windows.Forms;
|
||||
|
||||
using OpenTK;
|
||||
using OpenTK.Graphics.OpenGL;
|
||||
|
||||
using swf = System.Windows.Forms;
|
||||
|
||||
namespace BizHawk.Bizware.BizwareGL
|
||||
{
|
||||
|
||||
|
|
|
@ -5,15 +5,15 @@ using System.Drawing;
|
|||
using System.Drawing.Imaging;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using swf = System.Windows.Forms;
|
||||
using sd = System.Drawing;
|
||||
using sdi = System.Drawing.Imaging;
|
||||
|
||||
using OpenTK;
|
||||
using OpenTK.Graphics.OpenGL;
|
||||
|
||||
using BizHawk.Bizware.BizwareGL;
|
||||
|
||||
using sd = System.Drawing;
|
||||
using sdi = System.Drawing.Imaging;
|
||||
using swf = System.Windows.Forms;
|
||||
|
||||
//TODO - maybe a layer to cache Graphics parameters (notably, filtering) ?
|
||||
|
||||
namespace BizHawk.Bizware.BizwareGL
|
||||
|
|
|
@ -7,17 +7,17 @@ using System.Drawing;
|
|||
using System.Drawing.Imaging;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using swf = System.Windows.Forms;
|
||||
using sd = System.Drawing;
|
||||
using sdi = System.Drawing.Imaging;
|
||||
|
||||
using BizHawk.Bizware.BizwareGL;
|
||||
|
||||
using SlimDX.Direct3D9;
|
||||
using d3d9=SlimDX.Direct3D9;
|
||||
using OpenTK;
|
||||
using OpenTK.Graphics;
|
||||
using gl=OpenTK.Graphics.OpenGL;
|
||||
|
||||
using d3d9 = SlimDX.Direct3D9;
|
||||
using gl = OpenTK.Graphics.OpenGL;
|
||||
using sd = System.Drawing;
|
||||
using sdi = System.Drawing.Imaging;
|
||||
using swf = System.Windows.Forms;
|
||||
|
||||
//todo - do a better job selecting shader model? base on caps somehow? try several and catch compilation exceptions (yuck, exceptions)
|
||||
|
||||
|
|
|
@ -14,16 +14,16 @@ using System.Reflection;
|
|||
using System.Threading;
|
||||
using System.IO;
|
||||
using System.Collections.Generic;
|
||||
using sd = System.Drawing;
|
||||
using sdi = System.Drawing.Imaging;
|
||||
using swf=System.Windows.Forms;
|
||||
|
||||
using BizHawk.Bizware.BizwareGL;
|
||||
|
||||
using OpenTK;
|
||||
using OpenTK.Graphics;
|
||||
using OpenTK.Graphics.OpenGL;
|
||||
using otkg = OpenTK.Graphics;
|
||||
|
||||
using sd = System.Drawing;
|
||||
using sdi = System.Drawing.Imaging;
|
||||
using swf = System.Windows.Forms;
|
||||
|
||||
namespace BizHawk.Bizware.BizwareGL
|
||||
{
|
||||
|
|
|
@ -2,10 +2,11 @@
|
|||
//http://cyotek.com/blog/angelcode-bitmap-font-parsing-using-csharp
|
||||
|
||||
using System;
|
||||
using sd=System.Drawing;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
|
||||
using sd=System.Drawing;
|
||||
|
||||
namespace BizHawk.Bizware.BizwareGL
|
||||
{
|
||||
public class StringRenderer : IDisposable
|
||||
|
|
|
@ -169,9 +169,6 @@
|
|||
<!-- System using directives should be placed before other using directives -->
|
||||
<Rule Id="SA1208" Action="Hidden" />
|
||||
|
||||
<!-- Using alias directives should be placed after other using directives -->
|
||||
<Rule Id="SA1209" Action="Hidden" />
|
||||
|
||||
<!-- Using directives should be ordered alphabetically by namespace -->
|
||||
<Rule Id="SA1210" Action="Hidden" />
|
||||
|
||||
|
|
Loading…
Reference in New Issue