Merge pull request #358 from SixLabors/dependabot/nuget/src/ImageShar… #597
Annotations
21 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
DotNet Test Preview:
tests/ImageSharp.Web.Tests/TestUtilities/TestServerFixture.cs#L71
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
DotNet Test Preview:
tests/ImageSharp.Web.Tests/Helpers/ExifOrientationUtilitiesTests.cs#L26
Non-constant fields should not be visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2211)
|
DotNet Test Preview:
tests/ImageSharp.Web.Tests/Helpers/ExifOrientationUtilitiesTests.cs#L50
Non-constant fields should not be visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2211)
|
DotNet Test Preview:
tests/ImageSharp.Web.Tests/Helpers/ExifOrientationUtilitiesTests.cs#L73
Non-constant fields should not be visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2211)
|
DotNet Test Preview:
tests/ImageSharp.Web.Tests/Helpers/FormatUtilitiesTests.cs#L11
Non-constant fields should not be visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2211)
|
DotNet Test Preview:
tests/ImageSharp.Web.Tests/Processors/ResizeWebProcessorTests.cs#L101
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'ResizeWebProcessorTests.ResizeWebProcessor_RespectsOrientation_Size(ushort, bool)' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
DotNet Test Preview:
tests/ImageSharp.Web.Tests/Processors/ResizeWebProcessorTests.cs#L102
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'ResizeWebProcessorTests.ResizeWebProcessor_RespectsOrientation_Size(ushort, bool)' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
DotNet Test Preview:
tests/ImageSharp.Web.Tests/Processors/ResizeWebProcessorTests.cs#L157
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'ResizeWebProcessorTests.ResizeWebProcessor_RespectsOrientation_Center(ushort)' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
DotNet Test Preview:
tests/ImageSharp.Web.Tests/Processors/ResizeWebProcessorTests.cs#L158
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'ResizeWebProcessorTests.ResizeWebProcessor_RespectsOrientation_Center(ushort)' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
DotNet Test Preview:
tests/ImageSharp.Web.Tests/Processors/ResizeWebProcessorTests.cs#L57
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'ResizeWebProcessorTests.ResizeWebProcessor_UpdatesSize(string)' with a call to 'int.ToString(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/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/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/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#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/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/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/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/CacheHashBenchmarks.cs#L23
Member 'HashUsingSha256' 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)
|
Loading