Skip to content

Align font outline and fill while calling DrawText #627

Align font outline and fill while calling DrawText

Align font outline and fill while calling DrawText #627

Triggered via pull request May 10, 2024 15:42
Status Success
Total duration 4m 38s
Artifacts

build-and-test.yml

on: pull_request
Matrix: Build
Publish
0s
Publish
Fit to window
Zoom out
Zoom in

Annotations

71 warnings
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): 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)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): 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)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): 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)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): 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)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): 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)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): 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)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): 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)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): 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)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): 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)
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): 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)
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): 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)
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): 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)
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): 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)
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): 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)
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): 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)
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): 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)
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): 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)
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): 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)
Build (false, macos-13, net6.0, 6.0.x, -x64, false): 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)
Build (false, macos-13, net6.0, 6.0.x, -x64, false): 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)
Build (false, macos-13, net6.0, 6.0.x, -x64, false): 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)
Build (false, macos-13, net6.0, 6.0.x, -x64, false): 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)
Build (false, macos-13, net6.0, 6.0.x, -x64, false): 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)
Build (false, macos-13, net6.0, 6.0.x, -x64, false): 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)
Build (false, macos-13, net6.0, 6.0.x, -x64, false): 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)
Build (false, macos-13, net6.0, 6.0.x, -x64, false): 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)
Build (false, macos-13, net6.0, 6.0.x, -x64, false): 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)
Build (false, macos-13, net7.0, 7.0.x, true, -x64, false): 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)
Build (false, macos-13, net7.0, 7.0.x, true, -x64, false): 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)
Build (false, macos-13, net7.0, 7.0.x, true, -x64, false): 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)
Build (false, macos-13, net7.0, 7.0.x, true, -x64, false): 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)
Build (false, macos-13, net7.0, 7.0.x, true, -x64, false): 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)
Build (false, macos-13, net7.0, 7.0.x, true, -x64, false): 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)
Build (false, macos-13, net7.0, 7.0.x, true, -x64, false): 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)
Build (false, macos-13, net7.0, 7.0.x, true, -x64, false): 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)
Build (false, macos-13, net7.0, 7.0.x, true, -x64, false): 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)
Build (false, windows-latest, net7.0, 7.0.x, true, -x64, false): 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)
Build (false, windows-latest, net7.0, 7.0.x, true, -x64, false): 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)
Build (false, windows-latest, net7.0, 7.0.x, true, -x64, false): 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)
Build (false, windows-latest, net7.0, 7.0.x, true, -x64, false): 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)
Build (false, windows-latest, net7.0, 7.0.x, true, -x64, false): 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)
Build (false, windows-latest, net7.0, 7.0.x, true, -x64, false): 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)
Build (false, windows-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Drawing.Benchmarks/Drawing/FillWithPattern.cs#L18
Member 'DrawPatternPolygonSystemDrawing' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
Build (false, windows-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Drawing.Benchmarks/Drawing/DrawBeziers.cs#L19
Member 'DrawPathSystemDrawing' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
Build (false, windows-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Drawing.Benchmarks/Drawing/DrawBeziers.cs#L42
Member 'DrawLinesCore' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
Build (false, windows-latest, net6.0, 6.0.x, -x64, true)
Codecov: Failed to properly create commit: The process 'D:\a\_actions\codecov\codecov-action\v4\dist\codecov.exe' failed with exit code 1
Build (false, windows-latest, net6.0, 6.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestFileSystem.cs#L41
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (false, windows-latest, net6.0, 6.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestFormat.cs#L179
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (false, windows-latest, net6.0, 6.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestFileSystem.cs#L46
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (false, windows-latest, net6.0, 6.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestFormat.cs#L144
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, windows-latest, net6.0, 6.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestFormat.cs#L147
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, windows-latest, net6.0, 6.0.x, -x64, true): 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)
Build (false, windows-latest, net6.0, 6.0.x, -x64, true): 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)
Build (false, windows-latest, net6.0, 6.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestUtilities/AsyncStreamWrapper.cs#L7
'AsyncStreamWrapper' overrides array-based 'WriteAsync' but does not override memory-based 'WriteAsync'. Consider overriding memory-based 'WriteAsync' to improve performance. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1844)
Build (false, windows-latest, net6.0, 6.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestUtilities/Attributes/GroupOutputAttribute.cs#L9
Specify AttributeUsage on GroupOutputAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1018)
Build (false, windows-latest, net6.0, 6.0.x, -x64, true): 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)
Build (false, windows-latest, net6.0, 6.0.x, -x64, true): 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)
Build (false, windows-latest, net6.0, 6.0.x, -x64, true): 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)
Build (false, windows-latest, net6.0, 6.0.x, -x64, true): 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)
Build (false, windows-latest, net6.0, 6.0.x, -x64, true): 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)
Build (false, windows-latest, net6.0, 6.0.x, -x64, true): tests/ImageSharp.Drawing.Benchmarks/Drawing/DrawBeziers.cs#L19
Member 'DrawPathSystemDrawing' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
Build (false, windows-latest, net6.0, 6.0.x, -x64, true): tests/ImageSharp.Drawing.Benchmarks/Drawing/DrawBeziers.cs#L42
Member 'DrawLinesCore' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
Build (false, windows-latest, net6.0, 6.0.x, -x64, true): tests/ImageSharp.Drawing.Benchmarks/Drawing/DrawPolygon.cs#L19
Type 'DrawPolygon' owns disposable field(s) 'image', 'sdBitmap', 'skPath' but is not disposable (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1001)
Build (false, windows-latest, net6.0, 6.0.x, -x64, true): 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)