Use a global import for `System.*`

This commit is contained in:
YoshiRulz 2024-07-03 22:47:52 +10:00
parent c0b676647b
commit ccb69b18a9
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1215 changed files with 29 additions and 1376 deletions

View File

@ -1,4 +1,3 @@
using System;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;

View File

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;

View File

@ -1,4 +1,3 @@
using System;
using System.Reflection;
using System.Reflection.Emit;
using System.Runtime.InteropServices;

View File

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;

View File

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;

View File

@ -1,4 +1,3 @@
using System;
using System.Buffers;
using System.IO;
using System.Runtime.InteropServices;

View File

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;

View File

@ -1,4 +1,3 @@
using System;
using System.Windows.Forms;
namespace BizHawk.Bizware.Graphics.Controls

View File

@ -1,4 +1,3 @@
using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Windows.Forms;

View File

@ -1,4 +1,3 @@
using System;
using System.Windows.Forms;
using BizHawk.Common;

View File

@ -1,5 +1,3 @@
using System;
namespace BizHawk.Bizware.Graphics.Controls
{
/// <summary>

View File

@ -1,7 +1,6 @@
// TODO - introduce Trim for ArtManager
// TODO - add a small buffer reuse manager.. small images can be stored in larger buffers which we happen to have held. use a timer to wait to free it until some time has passed
using System;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Drawing2D;

View File

@ -1,4 +1,3 @@
using System;
using System.Drawing;
namespace BizHawk.Bizware.Graphics

View File

@ -1,5 +1,3 @@
using System;
using Silk.NET.Core.Contexts;
using Silk.NET.OpenGL;
using Silk.NET.WGL.Extensions.NV;

View File

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;

View File

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using Vortice.Direct3D;

View File

@ -1,5 +1,3 @@
using System;
using Vortice.Direct3D11;
using Vortice.DXGI;

View File

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;

View File

@ -1,4 +1,3 @@
using System;
using System.Drawing;
using System.Numerics;

View File

@ -1,4 +1,3 @@
using System;
using System.Drawing;
using SDGraphics = System.Drawing.Graphics;

View File

@ -1,4 +1,3 @@
using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Numerics;

View File

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using System.Drawing;

View File

@ -1,4 +1,3 @@
using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Text;

View File

@ -1,4 +1,3 @@
using System;
using System.Drawing;
using System.Numerics;

View File

@ -1,4 +1,3 @@
using System;
using System.Drawing;
using System.Numerics;

View File

@ -1,4 +1,3 @@
using System;
using System.Numerics;
namespace BizHawk.Bizware.Graphics

View File

@ -1,5 +1,3 @@
using System;
namespace BizHawk.Bizware.Graphics
{
/// <summary>

View File

@ -1,4 +1,3 @@
using System;
using System.Drawing;
using System.Numerics;

View File

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;

View File

@ -1,5 +1,3 @@
using System;
using Silk.NET.OpenGL;
namespace BizHawk.Bizware.Graphics

View File

@ -1,5 +1,3 @@
using System;
using Silk.NET.OpenGL;
namespace BizHawk.Bizware.Graphics

View File

@ -1,7 +1,5 @@
// #define DEBUG_OPENGL
using System;
#if DEBUG_OPENGL
using System.Runtime.InteropServices;
using Silk.NET.OpenGL;

View File

@ -1,5 +1,3 @@
using System;
using static SDL2.SDL;
namespace BizHawk.Bizware.Graphics

View File

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
namespace BizHawk.Bizware.Graphics

View File

@ -1,6 +1,5 @@
// this is full of bugs probably, related to state from old rendering sessions being all messed up. its only barely good enough to work at all
using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;

View File

@ -1,6 +1,5 @@
//http://stackoverflow.com/questions/6893302/decode-rgb-value-to-single-float-without-bit-shift-in-glsl
using System;
using System.Drawing;
using System.Numerics;

View File

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;

View File

@ -1,4 +1,3 @@
using System;
using System.Drawing.Imaging;
using System.Runtime.InteropServices;

View File

@ -1,7 +1,6 @@
// https://www.angelcode.com/products/bmfont/
// https://devblog.cyotek.com/post/angelcode-bitmap-font-parsing-using-csharp
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;

View File

@ -1,4 +1,3 @@
using System;
using System.Drawing;
using System.Numerics;

View File

@ -1,6 +1,5 @@
#nullable enable
using System;
using System.Collections.Generic;
using BizHawk.Client.Common;

View File

@ -1,7 +1,5 @@
#nullable enable
using System;
using BizHawk.Common;
namespace BizHawk.Bizware.Input

View File

@ -1,6 +1,5 @@
#nullable enable
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;

View File

@ -1,6 +1,5 @@
#nullable enable
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;

View File

@ -1,6 +1,5 @@
#nullable enable
using System;
using System.Collections.Generic;
using System.Linq;

View File

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using static SDL2.SDL;

View File

@ -1,6 +1,5 @@
#nullable enable
using System;
using System.Collections.Generic;
using System.Linq;

View File

@ -1,4 +1,3 @@
using System;
using System.Drawing;
using System.IO;
using System.Linq;

View File

@ -1,6 +1,5 @@
#nullable enable
using System;
using System.Collections.Generic;
namespace BizHawk.Client.Common

View File

@ -1,4 +1,3 @@
using System;
using System.Linq;
using BizHawk.Common.ReflectionExtensions;

View File

@ -1,6 +1,5 @@
#nullable enable
using System;
using System.Collections.Generic;
using System.Linq;

View File

@ -1,4 +1,3 @@
using System;
using System.Drawing;
using System.IO;
using BizHawk.Emulation.Common;

View File

@ -1,6 +1,5 @@
#nullable enable
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;

View File

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;

View File

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using BizHawk.Common;

View File

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;

View File

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using BizHawk.Emulation.Common;

View File

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;

View File

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using System.IO;

View File

@ -1,4 +1,3 @@
using System;
using System.IO;
namespace BizHawk.Client.Common

View File

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;

View File

@ -1,6 +1,5 @@
#nullable enable
using System;
using System.Net.WebSockets;
using System.Text;
using System.Threading;

View File

@ -1,6 +1,5 @@
#nullable enable
using System;
using System.Diagnostics.CodeAnalysis;
namespace BizHawk.Client.Common

View File

@ -1,6 +1,5 @@
#nullable enable
using System;
using System.Collections.Generic;
using System.Linq;

View File

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;

View File

@ -1,6 +1,5 @@
#nullable enable
using System;
using System.Collections.Generic;
namespace BizHawk.Client.Common

View File

@ -1,4 +1,3 @@
using System;
using System.Drawing;
namespace BizHawk.Client.Common

View File

@ -1,4 +1,3 @@
using System;
using System.Drawing;
using System.Drawing.Imaging;

View File

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
namespace BizHawk.Client.Common

View File

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
namespace BizHawk.Client.Common

View File

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using System.IO.MemoryMappedFiles;
using System.Text;

View File

@ -1,4 +1,3 @@
using System;
using System.Linq;
using System.Net;
using System.Net.Sockets;

View File

@ -1,6 +1,5 @@
#nullable enable
using System;
using System.Threading;
namespace BizHawk.Client.Common

View File

@ -1,6 +1,5 @@
#nullable enable
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;

View File

@ -1,5 +1,3 @@
using System;
using BizHawk.Bizware.Graphics;
using BizHawk.Emulation.Common;

View File

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using BizHawk.Emulation.Common;

View File

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;

View File

@ -1,6 +1,5 @@
#nullable enable
using System;
using System.Collections.Generic;
namespace BizHawk.Client.Common

View File

@ -1,7 +1,6 @@
// TODO
// we could flag textures as 'actually' render targets (keep a reference to the render target?) which could allow us to convert between them more quickly in some cases
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Text;

View File

@ -1,4 +1,3 @@
using System;
using System.Diagnostics;
using System.Collections.Generic;
using System.Drawing;

View File

@ -1,4 +1,3 @@
using System;
using System.Drawing;
using System.Numerics;

View File

@ -2,7 +2,6 @@
// https://github.com/Themaister/Emulator-Shader-Pack/blob/master/Cg/README
// https://github.com/libretro/common-shaders/
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Globalization;

View File

@ -1,4 +1,3 @@
using System;
using System.Linq;
using System.Text;
using System.Drawing;

View File

@ -1,4 +1,3 @@
using System;
using System.Drawing;
using System.Collections.Generic;

View File

@ -1,6 +1,5 @@
#nullable enable
using System;
using System.Drawing;
using BizHawk.Bizware.Graphics;

View File

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using BizHawk.Bizware.Graphics;

View File

@ -1,5 +1,3 @@
using System;
namespace BizHawk.Client.Common
{
public class UIMessage

View File

@ -1,5 +1,3 @@
using System;
namespace BizHawk.Client.Common
{
/// <summary>

View File

@ -1,5 +1,3 @@
using System;
namespace BizHawk.Client.Common
{
public class MoviePlatformMismatchException : InvalidOperationException

View File

@ -1,4 +1,3 @@
using System;
using System.IO;
using System.IO.Compression;

View File

@ -1,5 +1,3 @@
using System;
using BizHawk.Common;
namespace BizHawk.Client.Common

View File

@ -1,4 +1,3 @@
using System;
using System.Drawing;
using BizHawk.Emulation.Common;

View File

@ -1,4 +1,3 @@
using System;
using System.IO;
namespace BizHawk.Client.Common

View File

@ -1,4 +1,3 @@
using System;
using System.IO;
using BizHawk.Common.StringExtensions;

View File

@ -1,4 +1,3 @@
using System;
using System.IO;
using System.Runtime.InteropServices;

View File

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;

View File

@ -1,4 +1,3 @@
using System;
using System.Globalization;
using System.IO;
using System.Threading;

View File

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;

View File

@ -1,4 +1,3 @@
using System;
using System.IO;
using BizHawk.Common;

View File

@ -1,6 +1,5 @@
#nullable enable
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;

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