diff --git a/ElectronNET.API/Entities/JumpListSettings.cs b/ElectronNET.API/Entities/JumpListSettings.cs
index 150d0b7..dbd657a 100644
--- a/ElectronNET.API/Entities/JumpListSettings.cs
+++ b/ElectronNET.API/Entities/JumpListSettings.cs
@@ -1,4 +1,6 @@
-namespace ElectronNET.API.Entities
+using System;
+
+namespace ElectronNET.API.Entities
{
public class JumpListSettings
{
@@ -13,6 +15,6 @@
/// in the Jump List. These items must not be re-added to the Jump List in the next call to , Windows will
/// not display any custom category that contains any of the removed items.
///
- public JumpListItem[] RemovedItems { get; set; } = new JumpListItem[0];
+ public JumpListItem[] RemovedItems { get; set; } = Array.Empty();
}
}
\ No newline at end of file
diff --git a/ElectronNET.API/Entities/UpdateInfo.cs b/ElectronNET.API/Entities/UpdateInfo.cs
index 01dc54b..8acc0bc 100644
--- a/ElectronNET.API/Entities/UpdateInfo.cs
+++ b/ElectronNET.API/Entities/UpdateInfo.cs
@@ -1,4 +1,6 @@
-namespace ElectronNET.API.Entities
+using System;
+
+namespace ElectronNET.API.Entities
{
///
///
@@ -13,7 +15,7 @@
///
///
///
- public UpdateFileInfo[] Files { get; set; } = new UpdateFileInfo[0];
+ public UpdateFileInfo[] Files { get; set; } = Array.Empty();
///
/// The release name.
diff --git a/ElectronNET.CLI/Commands/BuildCommand.cs b/ElectronNET.CLI/Commands/BuildCommand.cs
index a4a94b7..f3d457a 100644
--- a/ElectronNET.CLI/Commands/BuildCommand.cs
+++ b/ElectronNET.CLI/Commands/BuildCommand.cs
@@ -28,7 +28,7 @@ Full example for a 32bit debug build with electron prune: build /target custom w
public static IList CommandOptions { get; set; } = new List();
- private string[] _args;
+ private readonly string[] _args;
public BuildCommand(string[] args)
{