Skip to content

Commit 6af0907

Browse files
authored
VS CodeCleanup (#5987)
1 parent c345cad commit 6af0907

File tree

112 files changed

+461
-511
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+461
-511
lines changed

BackgroundTasks/BackgroundTasks.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
</ItemGroup>
127127
<ItemGroup>
128128
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
129-
<Version>6.2.10</Version>
129+
<Version>6.2.12</Version>
130130
</PackageReference>
131131
</ItemGroup>
132132
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '14.0' ">

BackgroundTasks/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System.Reflection;
2-
using System.Runtime.CompilerServices;
32
using System.Runtime.InteropServices;
43

54
// Le informazioni generali relative a un assembly sono controllate dal seguente

BackgroundTasks/UpdateTask.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
using System;
2-
using System.Collections.Generic;
32
using System.IO;
43
using System.Linq;
5-
using System.Text;
64
using System.Threading.Tasks;
75
using Windows.ApplicationModel.Background;
86
using Windows.Storage;

Common/FileTagsDb.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using LiteDB;
22
using System;
33
using System.Collections.Generic;
4-
using System.Text;
54

65
namespace Common
76
{

Common/IconFileInfo.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.ComponentModel;
1+
using System.ComponentModel;
42
using System.Runtime.CompilerServices;
5-
using System.Text;
63

74
namespace Files.Common
85
{

Files.Launcher/MessageHandlers/FileOperationsHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ await Win32API.StartSTATask(() =>
158158
var shellOperationResult = new ShellOperationResult();
159159

160160
using var shd = new ShellFolder(Path.GetDirectoryName(filePath));
161-
op.QueueNewItemOperation(shd, Path.GetFileName(filePath),
161+
op.QueueNewItemOperation(shd, Path.GetFileName(filePath),
162162
(string)message["fileop"] == "CreateFolder" ? FileAttributes.Directory : FileAttributes.Normal, template);
163163

164164
var createTcs = new TaskCompletionSource<bool>();

Files.Launcher/MessageHandlers/FileTagsHandler.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
using System.IO.Pipes;
66
using System.Threading.Tasks;
77
using Vanara.PInvoke;
8-
using Vanara.Windows.Shell;
98
using Windows.Storage;
109

1110
namespace FilesFullTrust.MessageHandlers

Files/BaseLayout.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using Files.Enums;
22
using Files.EventArguments;
3-
using Files.Events;
43
using Files.Extensions;
54
using Files.Filesystem;
65
using Files.Filesystem.StorageItems;
@@ -24,7 +23,6 @@
2423
using System.Threading.Tasks;
2524
using Windows.ApplicationModel.DataTransfer;
2625
using Windows.ApplicationModel.DataTransfer.DragDrop;
27-
using Windows.Foundation;
2826
using Windows.Storage;
2927
using Windows.System;
3028
using Windows.UI.Core;

Files/Filesystem/FolderHelpers.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
using System.Collections.Generic;
44
using System.IO;
55
using System.Threading.Tasks;
6-
using Windows.Storage;
76
using static Files.Helpers.NativeFindStorageItemHelper;
87
using FileAttributes = System.IO.FileAttributes;
98

Files/Filesystem/ListedItem.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using Files.Enums;
33
using Files.Extensions;
44
using Files.Filesystem.Cloud;
5+
using Files.Filesystem.StorageItems;
56
using Files.Helpers;
67
using Files.ViewModels.Properties;
78
using FluentFTP;
@@ -11,10 +12,9 @@
1112
using System;
1213
using System.Collections.ObjectModel;
1314
using System.IO;
15+
using System.Linq;
1416
using Windows.Storage;
1517
using Windows.UI.Xaml.Media.Imaging;
16-
using Files.Filesystem.StorageItems;
17-
using System.Linq;
1818

1919
namespace Files.Filesystem
2020
{

0 commit comments

Comments
 (0)