Merge pull request #2689 from wabbajack-tools/tr4wzified-patch-1 #1786
Annotations
10 warnings
Test:
Wabbajack.Paths.IO/KnownFolders.cs#L16
Unreachable code detected
|
Test:
Wabbajack.Downloaders.VerificationCache/VerificationCache.cs#L47
Nullability of reference types in return type of 'Task<(bool?, IDownloadState?)> VerificationCache.Get(IDownloadState archive)' doesn't match implicitly implemented member 'Task<(bool? IsValid, IDownloadState State)> IVerificationCache.Get(IDownloadState archive)'.
|
Test:
Wabbajack.Downloaders.VerificationCache/NullCache.cs#L7
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Test:
Wabbajack.Common/FileSignatures/SignatureChecker.cs#L33
Avoid inexact read with 'System.IO.Stream.ReadAsync(System.Memory<byte>, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)
|
Test:
Wabbajack.Networking.WabbajackClientApi/Client.cs#L269
Possible null reference return.
|
Test:
Wabbajack.Networking.WabbajackClientApi/Client.cs#L210
Avoid inexact read with 'System.IO.Stream.ReadAsync(System.Memory<byte>, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)
|
Test:
Wabbajack.Networking.WabbajackClientApi/Client.cs#L291
Avoid inexact read with 'System.IO.Stream.ReadAsync(System.Memory<byte>, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)
|
Test:
Wabbajack.Networking.WabbajackClientApi/Client.cs#L367
Avoid inexact read with 'System.IO.Stream.ReadAsync(System.Memory<byte>, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)
|
Test:
Wabbajack.Networking.WabbajackClientApi/Client.cs#L439
Avoid inexact read with 'System.IO.Stream.ReadAsync(System.Memory<byte>, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)
|
Test:
Wabbajack.Hashing.PHash/TexConvImageLoader.cs#L158
The variable 'ex' is declared but never used
|
Loading