We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
OpenFolderAndSelectItems
1 parent e027a1a commit 752e6edCopy full SHA for 752e6ed
ILSpy/Util/ShellHelper.cs
@@ -99,7 +99,7 @@ public static void OpenFolderAndSelectItems(IEnumerable<string> paths)
99
if (paths == null)
100
return;
101
// Group by containing folder
102
- var files = paths.Where(p => !string.IsNullOrEmpty(p) && File.Exists(p)).ToList();
+ var files = paths.Distinct(StringComparer.OrdinalIgnoreCase).Where(p => !string.IsNullOrEmpty(p) && File.Exists(p)).ToList();
103
if (files.Count == 0)
104
105
0 commit comments