Merge pull request #582 from Nihlus/disable-redundant-warnings
Disable superfluous warnings in native interop code.
This commit is contained in:
commit
0c1901a4dd
2 changed files with 9 additions and 12 deletions
|
@ -29,6 +29,11 @@ using System.Collections.Generic;
|
|||
using System.Text;
|
||||
using OpenTK.Graphics;
|
||||
|
||||
// ReSharper disable InconsistentNaming
|
||||
// ReSharper disable UnusedMember.Global
|
||||
|
||||
#pragma warning disable 1591 // Missing XML comments
|
||||
|
||||
namespace OpenTK.Platform.Egl
|
||||
{
|
||||
using EGLNativeDisplayType = IntPtr;
|
||||
|
@ -394,7 +399,5 @@ namespace OpenTK.Platform.Egl
|
|||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
#pragma warning restore 0169
|
||||
}
|
|
@ -9,6 +9,9 @@ using System.Text;
|
|||
using System.Runtime.InteropServices;
|
||||
using System.Diagnostics;
|
||||
|
||||
// ReSharper disable UnusedMember.Global
|
||||
// ReSharper disable InconsistentNaming
|
||||
#pragma warning disable 1591 // Missing XML comments
|
||||
#pragma warning disable 3019 // CLS-compliance checking
|
||||
#pragma warning disable 0649 // struct members not explicitly initialized
|
||||
#pragma warning disable 0169 // field / method is never used.
|
||||
|
@ -1229,8 +1232,6 @@ XF86VidModeGetGammaRampSize(
|
|||
SunOpen = 0x1005ff73,
|
||||
}
|
||||
|
||||
#pragma warning disable 1591
|
||||
|
||||
public enum XVisualClass : int
|
||||
{
|
||||
StaticGray = 0,
|
||||
|
@ -1241,8 +1242,6 @@ XF86VidModeGetGammaRampSize(
|
|||
DirectColor = 5,
|
||||
}
|
||||
|
||||
#pragma warning restore 1591
|
||||
|
||||
[Flags]
|
||||
public enum XVisualInfoMask
|
||||
{
|
||||
|
@ -1616,8 +1615,3 @@ XF86VidModeGetGammaRampSize(
|
|||
SyncBoth
|
||||
}
|
||||
}
|
||||
|
||||
#pragma warning restore 3019
|
||||
#pragma warning restore 0649
|
||||
#pragma warning restore 0169
|
||||
#pragma warning restore 0414
|
Loading…
Reference in a new issue