From eb951d85697fe213821b06434b848e806bdca505 Mon Sep 17 00:00:00 2001 From: Vlad K Date: Wed, 21 Jun 2017 22:07:32 +0300 Subject: [PATCH] Delete region keyword --- src/OpenTK/Input/FileDropEventArgs.cs | 8 -------- src/OpenTK/NativeWindow.cs | 4 ---- src/OpenTK/Platform/Windows/API.cs | 4 ---- src/OpenTK/Platform/X11/X11GLNative.cs | 4 ---- 4 files changed, 20 deletions(-) diff --git a/src/OpenTK/Input/FileDropEventArgs.cs b/src/OpenTK/Input/FileDropEventArgs.cs index fe58f662..27f94b45 100644 --- a/src/OpenTK/Input/FileDropEventArgs.cs +++ b/src/OpenTK/Input/FileDropEventArgs.cs @@ -7,14 +7,8 @@ namespace OpenTK.Input /// public class FileDropEventArgs : EventArgs { - #region Fields - string fileName; - #endregion - - #region Public Members - /// /// Gets the name of the file. /// @@ -24,7 +18,5 @@ namespace OpenTK.Input get; internal set; } - - #endregion } } diff --git a/src/OpenTK/NativeWindow.cs b/src/OpenTK/NativeWindow.cs index 5a5468e7..7f313f59 100644 --- a/src/OpenTK/NativeWindow.cs +++ b/src/OpenTK/NativeWindow.cs @@ -1159,12 +1159,8 @@ namespace OpenTK private void OnMouseMoveInternal(object sender, MouseMoveEventArgs e) { OnMouseMove(e); } private void OnMouseWheelInternal(object sender, MouseWheelEventArgs e) { OnMouseWheel(e); } - #region OnFileDropInternal - private void OnFileDropInternal(object sender, FileDropEventArgs e) { OnFileDrop(e); } - #endregion - #region OnMoveInternal private void OnMoveInternal(object sender, EventArgs e) { OnMove(e); } diff --git a/src/OpenTK/Platform/Windows/API.cs b/src/OpenTK/Platform/Windows/API.cs index a3066441..c689f887 100644 --- a/src/OpenTK/Platform/Windows/API.cs +++ b/src/OpenTK/Platform/Windows/API.cs @@ -136,8 +136,6 @@ namespace OpenTK.Platform.Windows { #region Window functions - #region Drag functions - [DllImport("shell32.dll")] internal static extern bool DragAcceptFiles( IntPtr handle, @@ -157,8 +155,6 @@ namespace OpenTK.Platform.Windows HDROP hDrop ); - #endregion - #region SetWindowPos // WINUSERAPI BOOL WINAPI SetWindowPos(__in HWND hWnd, __in_opt HWND hWndInsertAfter, diff --git a/src/OpenTK/Platform/X11/X11GLNative.cs b/src/OpenTK/Platform/X11/X11GLNative.cs index 4217b30b..afae0bd4 100644 --- a/src/OpenTK/Platform/X11/X11GLNative.cs +++ b/src/OpenTK/Platform/X11/X11GLNative.cs @@ -331,8 +331,6 @@ namespace OpenTK.Platform.X11 #region Private Members - #region Utils - private void ReadProperty(IntPtr window, IntPtr property, IntPtr type, ref IntPtr data, ref IntPtr itemsCount) { int format; @@ -360,8 +358,6 @@ namespace OpenTK.Platform.X11 return fileNames; } - #endregion - #region private void RegisterAtoms() ///