Merge pull request #357 from SixLabors/dependabot/github_actions/code… #598
Annotations
10 warnings
DotNet Build Preview:
tests/ImageSharp.Web.Benchmarks/Caching/ToHexBenchmarks.cs#L24
The behavior of 'byte.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'ToHexBenchmarks.StringBuilderToHex()' with a call to 'byte.ToString(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
DotNet Build Preview:
tests/ImageSharp.Web.Benchmarks/Caching/ToHexBenchmarks.cs#L18
Member 'StringBuilderToHex' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
|
DotNet Build Preview:
tests/ImageSharp.Web.Benchmarks/Caching/CacheHashBaseline.cs#L31
The behavior of 'byte.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'CacheHashBaseline.Create(string, uint)' with a call to 'byte.ToString(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
DotNet Build Preview:
tests/ImageSharp.Web.Benchmarks/Synchronization/AsyncLockBenchmarks.cs#L14
Type 'AsyncLockBenchmarks' owns disposable field(s) 'asyncKeyLock', 'asyncLock' but is not disposable (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1001)
|
DotNet Build Preview:
tests/ImageSharp.Web.Benchmarks/Caching/ToHexBenchmarks.cs#L55
Member 'CustomToHexUnsafe' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
|
DotNet Build Preview:
tests/ImageSharp.Web.Benchmarks/Caching/ToHexBenchmarks.cs#L31
Member 'CustomToHex' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
|
DotNet Build Preview:
tests/ImageSharp.Web.Benchmarks/Caching/CacheHashBaseline.cs#L27
Prefer static 'System.Security.Cryptography.SHA256.HashData' method over 'ComputeHash' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1850)
|
DotNet Build Preview:
tests/ImageSharp.Web.Benchmarks/Caching/ToHexBenchmarks.cs#L66
Prefer static 'System.Security.Cryptography.SHA256.HashData' method over 'ComputeHash' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1850)
|
DotNet Build Preview:
tests/ImageSharp.Web.Benchmarks/Caching/CacheKeyBenchmarks.cs#L27
Member 'CreateUsingBaseline' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
|
DotNet Build Preview:
tests/ImageSharp.Web.Benchmarks/Caching/CacheKeyBenchmarks.cs#L30
Member 'CreateUsingUriRelativeCacheKey' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
|
Loading