diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Helper/ShellContextMenu.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Helper/ShellContextMenu.cs index abb76580d..58b4e86f9 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Helper/ShellContextMenu.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Helper/ShellContextMenu.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Text; using System.Runtime.InteropServices; using System.Drawing; @@ -341,7 +341,7 @@ namespace Peter return null; } - IShellFolder oParentFolder = GetParentFolder(arrFI[0].Parent.FullName); + IShellFolder oParentFolder = GetParentFolder(arrFI[0].Parent!.FullName); if (null == oParentFolder) { return null; @@ -1535,7 +1535,7 @@ namespace Peter m_hookType, m_filterFunc, IntPtr.Zero, - (int)AppDomain.GetCurrentThreadId()); + Environment.CurrentManagedThreadId); } // ************************************************************************