Merge pull request #326 from SixLabors/js/update-refs #623
Annotations
21 warnings
Codecov Update
Codecov: Failed to properly create commit: The process 'D:\a\_actions\codecov\codecov-action\v4\dist\codecov.exe' failed with exit code 1
|
DotNet Test:
tests/ImageSharp.Drawing.Tests/TestFileSystem.cs#L41
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
DotNet Test:
tests/ImageSharp.Drawing.Tests/TestFormat.cs#L179
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
DotNet Test:
tests/ImageSharp.Drawing.Tests/TestFileSystem.cs#L46
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
DotNet Test:
tests/ImageSharp.Drawing.Tests/TestUtilities/ImageProviders/FileProvider.cs#L9
Using alias directives should be placed after all using namespace directives (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1209.md)
|
DotNet Test:
tests/ImageSharp.Drawing.Tests/TestFormat.cs#L144
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
|
DotNet Test:
tests/ImageSharp.Drawing.Tests/TestFormat.cs#L147
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
|
DotNet Test:
tests/ImageSharp.Drawing.Tests/TestFormat.cs#L264
Type SixLabors.ImageSharp.Drawing.Tests.TestFormat.TestPixelForAgnosticDecode should override Equals because it implements IEquatable<T> (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1067)
|
DotNet Test:
tests/ImageSharp.Drawing.Tests/TestUtilities/ImageProviders/BasicTestPatternProvider.cs#L9
Class TestImageProvider must have a public parameterless constructor to support Xunit.Abstractions.IXunitSerializable. (https://xunit.net/xunit.analyzers/rules/xUnit3001)
|
DotNet Test:
tests/ImageSharp.Drawing.Tests/TestUtilities/ImageProviders/LambdaProvider.cs#L15
Class LambdaProvider must have a public parameterless constructor to support Xunit.Abstractions.IXunitSerializable. (https://xunit.net/xunit.analyzers/rules/xUnit3001)
|
DotNet Test:
tests/ImageSharp.Drawing.Tests/TestUtilities/AsyncStreamWrapper.cs#L7
'AsyncStreamWrapper' overrides array-based 'ReadAsync' but does not override memory-based 'ReadAsync'. Consider overriding memory-based 'ReadAsync' to improve performance. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1844)
|
DotNet Build:
samples/DrawShapesWithImageSharp/Program.cs#L61
The behavior of 'SystemFonts.Get(string)' could vary based on the current user's locale settings. Replace this call in 'Program.DrawText(string)' with a call to 'SystemFonts.Get(string, CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
|
DotNet Build:
tests/ImageSharp.Drawing.Tests/TestImages.cs#L3
Code should not contain multiple blank lines in a row (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1507.md)
|
DotNet Build:
samples/DrawShapesWithImageSharp/Program.cs#L71
The behavior of 'SystemFonts.Get(string)' could vary based on the current user's locale settings. Replace this call in 'Program.DrawText(string, IPath)' with a call to 'SystemFonts.Get(string, CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
|
DotNet Build:
tests/ImageSharp.Drawing.Tests/TestUtilities/TestEnvironment.cs#L26
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'SixLabors.ImageSharp.Drawing.Tests.TestEnvironment.IsFramework.get' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
|
DotNet Build:
samples/DrawShapesWithImageSharp/Program.cs#L110
The behavior of 'float.Parse(string)' could vary based on the current user's locale settings. Replace this call in 'Program.DrawSerializedOPenSansLetterShape_a()' with a call to 'float.Parse(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
DotNet Build:
tests/ImageSharp.Drawing.Tests/TestUtilities/TestEnvironment.cs#L69
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
|
DotNet Build:
samples/DrawShapesWithImageSharp/Program.cs#L110
The behavior of 'float.Parse(string)' could vary based on the current user's locale settings. Replace this call in 'Program.DrawSerializedOPenSansLetterShape_a()' with a call to 'float.Parse(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
DotNet Build:
tests/ImageSharp.Drawing.Tests/TestUtilities/TestEnvironment.cs#L76
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
|
DotNet Build:
samples/DrawShapesWithImageSharp/Program.cs#L129
The behavior of 'float.Parse(string)' could vary based on the current user's locale settings. Replace this call in 'Program.DrawSerializedOPenSansLetterShape_o()' with a call to 'float.Parse(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
DotNet Build:
tests/ImageSharp.Drawing.Benchmarks/Drawing/FillWithPattern.cs#L38
Member 'DrawPatternPolygon3Core' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
|
Loading