mirror of
https://github.com/ppy/osu
synced 2024-12-27 17:32:56 +00:00
Disable naming inspections in p/invoke code
This commit is contained in:
parent
fe9e6168fe
commit
981a19f6a5
@ -489,6 +489,7 @@ namespace osu.Desktop
|
||||
public static uint Stride => (uint)Marshal.SizeOf(typeof(NvApplication)) | (2 << 16);
|
||||
}
|
||||
|
||||
// ReSharper disable InconsistentNaming
|
||||
internal enum NvStatus
|
||||
{
|
||||
OK = 0, // Success. Request is completed.
|
||||
@ -738,4 +739,6 @@ namespace osu.Desktop
|
||||
OGL_THREAD_CONTROL_NUM_VALUES = 2,
|
||||
OGL_THREAD_CONTROL_DEFAULT = 0
|
||||
}
|
||||
|
||||
// ReSharper restore InconsistentNaming
|
||||
}
|
||||
|
@ -163,6 +163,8 @@ namespace osu.Desktop.Windows
|
||||
[DllImport("Shell32.dll")]
|
||||
private static extern void SHChangeNotify(EventId wEventId, Flags uFlags, IntPtr dwItem1, IntPtr dwItem2);
|
||||
|
||||
// ReSharper disable InconsistentNaming
|
||||
|
||||
private enum EventId
|
||||
{
|
||||
/// <summary>
|
||||
@ -174,9 +176,12 @@ namespace osu.Desktop.Windows
|
||||
|
||||
private enum Flags : uint
|
||||
{
|
||||
// ReSharper disable once InconsistentNaming
|
||||
SHCNF_IDLIST = 0x0000
|
||||
}
|
||||
|
||||
// ReSharper restore InconsistentNaming
|
||||
|
||||
#endregion
|
||||
|
||||
private record FileAssociation(string Extension, LocalisableString Description, string IconPath)
|
||||
|
Loading…
Reference in New Issue
Block a user