diff --git a/Directory.Build.props b/Directory.Build.props
index 1f563b299..36a7b07fc 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -16,6 +16,6 @@
https://github.com/NuKeeperDotNet/NuKeeper.git
-
+
-
+
\ No newline at end of file
diff --git a/NuKeeper.Abstractions.Tests/Configuration/FileSettingsReaderTests.cs b/NuKeeper.Abstractions.Tests/Configuration/FileSettingsReaderTests.cs
index f5103169a..01a5aaa1d 100644
--- a/NuKeeper.Abstractions.Tests/Configuration/FileSettingsReaderTests.cs
+++ b/NuKeeper.Abstractions.Tests/Configuration/FileSettingsReaderTests.cs
@@ -13,7 +13,7 @@ namespace NuKeeper.Abstractions.Tests.Configuration
[TestFixture]
public class FileSettingsReaderTests
{
- private string _uniqueTemporaryFolder = null;
+ private string _uniqueTemporaryFolder;
[SetUp]
public void Setup()
diff --git a/NuKeeper.Inspection.Tests/Sources/NugetSourcesReaderTests.cs b/NuKeeper.Inspection.Tests/Sources/NugetSourcesReaderTests.cs
index fff84f87b..5930464fb 100644
--- a/NuKeeper.Inspection.Tests/Sources/NugetSourcesReaderTests.cs
+++ b/NuKeeper.Inspection.Tests/Sources/NugetSourcesReaderTests.cs
@@ -15,7 +15,7 @@ namespace NuKeeper.Inspection.Tests.Sources
{
public class NugetSourcesReaderTests
{
- private IFolder _uniqueTemporaryFolder = null;
+ private IFolder _uniqueTemporaryFolder;
[SetUp]
public void Setup()
diff --git a/NuKeeper.Integration.Tests/LogHelpers/NuKeeperTestLogger.cs b/NuKeeper.Integration.Tests/LogHelpers/NuKeeperTestLogger.cs
index 3765216e1..66c78ca94 100644
--- a/NuKeeper.Integration.Tests/LogHelpers/NuKeeperTestLogger.cs
+++ b/NuKeeper.Integration.Tests/LogHelpers/NuKeeperTestLogger.cs
@@ -26,7 +26,7 @@ public void DumpLogToTestOutput()
{
var test = TestContext.CurrentContext.Test.Name;
- if (_buffer.Count > 0)
+ if (!_buffer.IsEmpty)
{
TestContext.Error.WriteLine($"{test}: NuKeeper Log:");
while (_buffer.TryDequeue(out var line))
diff --git a/NuKeeper.Integration.Tests/LogHelpers/NugetTestLogger.cs b/NuKeeper.Integration.Tests/LogHelpers/NugetTestLogger.cs
index 0dd948d27..10750ad33 100644
--- a/NuKeeper.Integration.Tests/LogHelpers/NugetTestLogger.cs
+++ b/NuKeeper.Integration.Tests/LogHelpers/NugetTestLogger.cs
@@ -26,7 +26,7 @@ public void DumpLogToTestOutput()
{
var test = TestContext.CurrentContext.Test.Name;
- if (_buffer.Count > 0)
+ if (!_buffer.IsEmpty)
{
TestContext.Error.WriteLine($"{test}: NuKeeper Log:");
while (_buffer.TryDequeue(out var line))
diff --git a/NuKeeper.Integration.Tests/NuGet/Process/DotNetUpdatePackageCommandTests.cs b/NuKeeper.Integration.Tests/NuGet/Process/DotNetUpdatePackageCommandTests.cs
index b912e70bf..f90b747e5 100644
--- a/NuKeeper.Integration.Tests/NuGet/Process/DotNetUpdatePackageCommandTests.cs
+++ b/NuKeeper.Integration.Tests/NuGet/Process/DotNetUpdatePackageCommandTests.cs
@@ -63,7 +63,7 @@ public class DotNetUpdatePackageCommandTests : TestWithFailureLogging
";
- private IFolder _uniqueTemporaryFolder = null;
+ private IFolder _uniqueTemporaryFolder;
[SetUp]
public void Setup()
diff --git a/NuKeeper.Integration.Tests/NuGet/Process/NuGetUpdatePackageCommandTests.cs b/NuKeeper.Integration.Tests/NuGet/Process/NuGetUpdatePackageCommandTests.cs
index 542fb20f8..f1aa31d36 100644
--- a/NuKeeper.Integration.Tests/NuGet/Process/NuGetUpdatePackageCommandTests.cs
+++ b/NuKeeper.Integration.Tests/NuGet/Process/NuGetUpdatePackageCommandTests.cs
@@ -31,7 +31,7 @@ public class NuGetUpdatePackageCommandTests : TestWithFailureLogging
private readonly string _nugetConfig =
@"";
- private IFolder _uniqueTemporaryFolder = null;
+ private IFolder _uniqueTemporaryFolder;
[SetUp]
public void Setup()
diff --git a/NuKeeper.Integration.Tests/RepositoryInspection/RepositoryScannerTests.cs b/NuKeeper.Integration.Tests/RepositoryInspection/RepositoryScannerTests.cs
index c2f933acc..cafbf1e4f 100644
--- a/NuKeeper.Integration.Tests/RepositoryInspection/RepositoryScannerTests.cs
+++ b/NuKeeper.Integration.Tests/RepositoryInspection/RepositoryScannerTests.cs
@@ -48,7 +48,7 @@ public class RepositoryScannerTests : TestWithFailureLogging
";
- private IFolder _uniqueTemporaryFolder = null;
+ private IFolder _uniqueTemporaryFolder;
[SetUp]
public void Setup()
diff --git a/NuKeeper.Update/Selection/UpdateSelection.cs b/NuKeeper.Update/Selection/UpdateSelection.cs
index c9c75c273..495820cbd 100644
--- a/NuKeeper.Update/Selection/UpdateSelection.cs
+++ b/NuKeeper.Update/Selection/UpdateSelection.cs
@@ -12,7 +12,7 @@ public class UpdateSelection : IUpdateSelection
{
private readonly INuKeeperLogger _logger;
private FilterSettings _settings;
- private DateTime? _maxPublishedDate = null;
+ private DateTime? _maxPublishedDate;
public UpdateSelection(INuKeeperLogger logger)
{