mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 16:12:54 +08:00
Use comments to disable identifier typos instead
This commit is contained in:
parent
5185f6010e
commit
66773f6d7d
@ -2,12 +2,12 @@
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using System;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// ReSharper disable IdentifierTypo
|
||||
|
||||
namespace osu.Desktop.Windows
|
||||
{
|
||||
[SuppressMessage("ReSharper", "IdentifierTypo")]
|
||||
internal class WindowsKey
|
||||
{
|
||||
private delegate int LowLevelKeyboardProcDelegate(int nCode, int wParam, ref KdDllHookStruct lParam);
|
||||
@ -16,7 +16,6 @@ namespace osu.Desktop.Windows
|
||||
|
||||
private const int wh_keyboard_ll = 13;
|
||||
private const int wm_keydown = 256;
|
||||
|
||||
private const int wm_syskeyup = 261;
|
||||
|
||||
//Resharper disable once NotAccessedField.Local
|
||||
|
@ -2,7 +2,6 @@
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using osu.Game.Online.API.Requests.Responses;
|
||||
|
||||
namespace osu.Game.Online.API.Requests
|
||||
@ -20,10 +19,11 @@ namespace osu.Game.Online.API.Requests
|
||||
protected override string Target => $"users/{userId}/recent_activity";
|
||||
}
|
||||
|
||||
[SuppressMessage("ReSharper", "IdentifierTypo")]
|
||||
public enum RecentActivityType
|
||||
{
|
||||
Achievement,
|
||||
|
||||
// ReSharper disable once IdentifierTypo
|
||||
BeatmapPlaycount,
|
||||
BeatmapsetApprove,
|
||||
BeatmapsetDelete,
|
||||
|
Loading…
Reference in New Issue
Block a user