Merge pull request #358 from SixLabors/dependabot/nuget/src/ImageShar… #597
Annotations
10 warnings
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/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/CacheHashBenchmarks.cs#L20
Member 'HashUsingBaselineHash' 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#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/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/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)
|
DotNet Build Preview:
tests/ImageSharp.Web.Benchmarks/Caching/CacheKeyBenchmarks.cs#L33
Member 'CreateUsingUriRelativeLowerInvariantCacheKey' 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#L39
Member 'CreateUsingUriAbsoluteLowerInvariantCacheKey' 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/CacheKeyBenchmarks.cs#L36
Member 'CreateUsingUriAbsoluteCacheKey' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
|
Loading