diff --git a/Compression.BSA/Compression.BSA.csproj b/Compression.BSA/Compression.BSA.csproj index 3b725ae7..7b51c3b9 100644 --- a/Compression.BSA/Compression.BSA.csproj +++ b/Compression.BSA/Compression.BSA.csproj @@ -22,7 +22,7 @@ - + diff --git a/Wabbajack.CLI/Wabbajack.CLI.csproj b/Wabbajack.CLI/Wabbajack.CLI.csproj index 9de67964..aaa1e540 100644 --- a/Wabbajack.CLI/Wabbajack.CLI.csproj +++ b/Wabbajack.CLI/Wabbajack.CLI.csproj @@ -20,8 +20,8 @@ - - + + diff --git a/Wabbajack.Common.CSP/Wabbajack.Common.CSP.csproj b/Wabbajack.Common.CSP/Wabbajack.Common.CSP.csproj index 622e38a9..6286f90b 100644 --- a/Wabbajack.Common.CSP/Wabbajack.Common.CSP.csproj +++ b/Wabbajack.Common.CSP/Wabbajack.Common.CSP.csproj @@ -6,7 +6,7 @@ win10-x64 - + diff --git a/Wabbajack.Common/Extensions/RxExt.cs b/Wabbajack.Common/Extensions/RxExt.cs index 1eb06521..788fc0ab 100644 --- a/Wabbajack.Common/Extensions/RxExt.cs +++ b/Wabbajack.Common/Extensions/RxExt.cs @@ -103,7 +103,7 @@ namespace Wabbajack { // We have another value that came in to fire. // Reregister for callback - dueTimeDisposable.Disposable = scheduler.Schedule(interval, internalCallback); + dueTimeDisposable.Disposable = scheduler!.Schedule(interval, internalCallback); o.OnNext(value!); value = default; hasValue = false; diff --git a/Wabbajack.Common/Wabbajack.Common.csproj b/Wabbajack.Common/Wabbajack.Common.csproj index 9cd2a59d..3bebdf1c 100644 --- a/Wabbajack.Common/Wabbajack.Common.csproj +++ b/Wabbajack.Common/Wabbajack.Common.csproj @@ -49,9 +49,9 @@ - + - + @@ -59,9 +59,9 @@ - - - + + + diff --git a/Wabbajack.Lib/ClientAPI.cs b/Wabbajack.Lib/ClientAPI.cs index fea3de11..3984284c 100644 --- a/Wabbajack.Lib/ClientAPI.cs +++ b/Wabbajack.Lib/ClientAPI.cs @@ -264,7 +264,7 @@ using Wabbajack.Lib.Downloaders; await client.GetStringAsync($"{Consts.WabbajackBuildServerUri}mirror/{archiveHash.ToHex()}"); return new Uri(result); } - catch (HttpException ex) + catch (HttpException) { return null; } diff --git a/Wabbajack.Lib/CompilationSteps/IncludePatches.cs b/Wabbajack.Lib/CompilationSteps/IncludePatches.cs index 136884a6..140b1785 100644 --- a/Wabbajack.Lib/CompilationSteps/IncludePatches.cs +++ b/Wabbajack.Lib/CompilationSteps/IncludePatches.cs @@ -16,7 +16,6 @@ namespace Wabbajack.Lib.CompilationSteps private readonly Dictionary> _indexed; private VirtualFile? _bsa; private Dictionary> _indexedByName; - private ACompiler _compiler; private bool _isGenericGame; public IncludePatches(ACompiler compiler, VirtualFile? constructingFromBSA = null) : base(compiler) diff --git a/Wabbajack.Lib/Downloaders/NexusDownloader.cs b/Wabbajack.Lib/Downloaders/NexusDownloader.cs index 7ce2ff33..27c223cb 100644 --- a/Wabbajack.Lib/Downloaders/NexusDownloader.cs +++ b/Wabbajack.Lib/Downloaders/NexusDownloader.cs @@ -205,7 +205,7 @@ namespace Wabbajack.Lib.Downloaders Utils.Log(ex.ExtendedDescription); throw; } - catch (Exception ex) + catch (Exception) { return false; } diff --git a/Wabbajack.Lib/MO2Compiler.cs b/Wabbajack.Lib/MO2Compiler.cs index eccdf22f..f0340d12 100644 --- a/Wabbajack.Lib/MO2Compiler.cs +++ b/Wabbajack.Lib/MO2Compiler.cs @@ -15,8 +15,6 @@ namespace Wabbajack.Lib { public class MO2Compiler : ACompiler { - private AbsolutePath _mo2DownloadsFolder; - public MO2Compiler(AbsolutePath sourcePath, AbsolutePath downloadsPath, string mo2Profile, AbsolutePath outputFile) : base(21, mo2Profile, sourcePath, downloadsPath, outputFile) { diff --git a/Wabbajack.Lib/Wabbajack.Lib.csproj b/Wabbajack.Lib/Wabbajack.Lib.csproj index ebec699c..5f42ead1 100644 --- a/Wabbajack.Lib/Wabbajack.Lib.csproj +++ b/Wabbajack.Lib/Wabbajack.Lib.csproj @@ -25,7 +25,7 @@ 2.2.2.1 - 1.11.26 + 1.11.28 1.8.2 @@ -46,16 +46,16 @@ 0.26.0 - 5.0.0-preview.8.20407.11 + 5.0.0 - 5.0.0-preview.8.20407.11 + 5.0.0 4.3.4 - 5.0.0-preview.8.20407.11 + 5.0.0 1.0.1 diff --git a/Wabbajack.Server/Wabbajack.Server.csproj b/Wabbajack.Server/Wabbajack.Server.csproj index 18f915b0..5e7c0ffe 100644 --- a/Wabbajack.Server/Wabbajack.Server.csproj +++ b/Wabbajack.Server/Wabbajack.Server.csproj @@ -14,7 +14,6 @@ - diff --git a/Wabbajack.Test/Wabbajack.Test.csproj b/Wabbajack.Test/Wabbajack.Test.csproj index e8bd6668..4ef2cd16 100644 --- a/Wabbajack.Test/Wabbajack.Test.csproj +++ b/Wabbajack.Test/Wabbajack.Test.csproj @@ -30,7 +30,7 @@ - + diff --git a/Wabbajack.VirtualFileSystem.Test/FileExtractorTests.cs b/Wabbajack.VirtualFileSystem.Test/FileExtractorTests.cs index 79283ec1..a601d3c6 100644 --- a/Wabbajack.VirtualFileSystem.Test/FileExtractorTests.cs +++ b/Wabbajack.VirtualFileSystem.Test/FileExtractorTests.cs @@ -90,7 +90,7 @@ namespace Wabbajack.VirtualFileSystem.Test return await s.xxHashAsync(); }); - Assert.Equal(1, results.Count); + Assert.Single(results); foreach (var (path, hash) in results) { Assert.Equal(await temp.Dir.Combine(path).FileHashAsync(), hash); diff --git a/Wabbajack.VirtualFileSystem.Test/Wabbajack.VirtualFileSystem.Test.csproj b/Wabbajack.VirtualFileSystem.Test/Wabbajack.VirtualFileSystem.Test.csproj index 28ac0759..0fa7d79b 100644 --- a/Wabbajack.VirtualFileSystem.Test/Wabbajack.VirtualFileSystem.Test.csproj +++ b/Wabbajack.VirtualFileSystem.Test/Wabbajack.VirtualFileSystem.Test.csproj @@ -8,7 +8,7 @@ - + diff --git a/Wabbajack.VirtualFileSystem/Context.cs b/Wabbajack.VirtualFileSystem/Context.cs index 33ee0ad4..a9fb03cc 100644 --- a/Wabbajack.VirtualFileSystem/Context.cs +++ b/Wabbajack.VirtualFileSystem/Context.cs @@ -238,7 +238,7 @@ namespace Wabbajack.VirtualFileSystem tempFolder: tempFolder, onlyFiles: fileNames.Keys.ToHashSet()); } - catch (_7zipReturnError ex) + catch (_7zipReturnError) { await using var stream = await sfn.GetStream(); var hash = await stream.xxHashAsync(); diff --git a/Wabbajack.VirtualFileSystem/VirtualFile.cs b/Wabbajack.VirtualFileSystem/VirtualFile.cs index 224be3af..a038f099 100644 --- a/Wabbajack.VirtualFileSystem/VirtualFile.cs +++ b/Wabbajack.VirtualFileSystem/VirtualFile.cs @@ -224,11 +224,11 @@ namespace Wabbajack.VirtualFileSystem self.Children = list.Values.ToImmutableList(); } - catch (EndOfStreamException ex) + catch (EndOfStreamException) { return self; } - catch (Exception ex) + catch (Exception) { Utils.Log($"Error while examining the contents of {relPath.FileName}"); throw; diff --git a/Wabbajack.VirtualFileSystem/Wabbajack.VirtualFileSystem.csproj b/Wabbajack.VirtualFileSystem/Wabbajack.VirtualFileSystem.csproj index 17d43932..505d0256 100644 --- a/Wabbajack.VirtualFileSystem/Wabbajack.VirtualFileSystem.csproj +++ b/Wabbajack.VirtualFileSystem/Wabbajack.VirtualFileSystem.csproj @@ -18,7 +18,7 @@ - + diff --git a/Wabbajack/Wabbajack.csproj b/Wabbajack/Wabbajack.csproj index 605c6f0d..b3e619f5 100644 --- a/Wabbajack/Wabbajack.csproj +++ b/Wabbajack/Wabbajack.csproj @@ -67,7 +67,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - +