* 删除不要的注释

This commit is contained in:
Sunny 2023-12-06 21:00:01 +08:00
parent 52e3a3cb04
commit 441d9dac8b
5 changed files with 0 additions and 14 deletions

View File

@ -427,12 +427,10 @@ namespace Sunny.UI
}
// Simply copy the argb values array
// ReSharper disable once InconsistentNaming
int* s0t = _scan0;
fixed (int* source = colors)
{
// ReSharper disable once InconsistentNaming
int* s0s = source;
int count = Width * Height;

View File

@ -3,7 +3,6 @@ using System.ComponentModel;
using System.Drawing.Design;
using System.Runtime.InteropServices;
using System.Windows.Forms;
// ReSharper disable UnusedMember.Local
namespace Sunny.UI
{

View File

@ -25,7 +25,6 @@ using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;
// ReSharper disable UnusedMember.Local
#pragma warning disable 1591
namespace Sunny.UI

View File

@ -1501,10 +1501,6 @@ namespace Sunny.UI
[DllImport("user32.dll", SetLastError = true)]
private static extern bool DestroyWindow(IntPtr hWnd);
// ReSharper disable NotAccessedField.Local
// ReSharper disable FieldCanBeMadeReadOnly.Local
// ReSharper disable MemberCanBePrivate.Local
// ReSharper disable UnusedField.Compiler
#pragma warning disable 414
#pragma warning disable 649
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
@ -1559,10 +1555,6 @@ namespace Sunny.UI
}
}
// ReSharper restore UnusedField.Compiler
// ReSharper restore MemberCanBePrivate.Local
// ReSharper restore FieldCanBeMadeReadOnly.Local
// ReSharper restore NotAccessedField.Local
#pragma warning restore 649
#pragma warning restore 414
#endregion

View File

@ -40,8 +40,6 @@ using System.Drawing;
using System.Drawing.Drawing2D;
using System.Windows.Forms;
// ReSharper disable All
namespace Sunny.UI
{
/// <summary>