Skip to content

Fix arcs and do not throw when outlining #563

Fix arcs and do not throw when outlining

Fix arcs and do not throw when outlining #563

Triggered via pull request October 25, 2023 12:24
Status Success
Total duration 5m 35s
Artifacts

build-and-test.yml

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

Annotations

70 warnings
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#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): 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): 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, ubuntu-latest, net6.0, 6.0.x, -x64, false): tests/ImageSharp.Drawing.Tests/Processing/ImageProcessingContextTests.cs#L14
Type 'ImageProcessingContextTests' owns disposable field(s) 'image' but is not disposable (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1001)
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): tests/ImageSharp.Drawing.Tests/Processing/BaseImageOperationsExtensionTest.cs#L13
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
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/TestFormat.cs#L179
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/Processing/BaseImageOperationsExtensionTest.cs#L11
Type 'BaseImageOperationsExtensionTest' owns disposable field(s) 'source' but is not disposable (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1001)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/Processing/BaseImageOperationsExtensionTest.cs#L13
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, macos-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, macos-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, macos-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, macos-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, macos-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, macos-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, macos-latest, net6.0, 6.0.x, -x64, false): tests/ImageSharp.Drawing.Benchmarks/Drawing/DrawText.cs#L18
Type 'DrawText' owns disposable field(s) 'image', 'sdBitmap', 'sdFont', 'skBitmap', 'skCanvas' but is not disposable (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1001)
Build (false, macos-latest, net6.0, 6.0.x, -x64, false): tests/ImageSharp.Drawing.Benchmarks/Drawing/FillPathGradientBrush.cs#L11
Type 'FillPathGradientBrush' owns disposable field(s) 'image' but is not disposable (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1001)
Build (false, macos-latest, net6.0, 6.0.x, -x64, false): tests/ImageSharp.Drawing.Benchmarks/Drawing/FillPolygon.cs#L20
Type 'FillPolygon' owns disposable field(s) 'image', 'sdBitmap', 'skBitmap', 'skCanvas' but is not disposable (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1001)
Build (false, macos-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, macos-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, macos-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, macos-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, macos-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, macos-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, macos-latest, net7.0, 7.0.x, true, -x64, false): 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, macos-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Drawing.Benchmarks/Drawing/DrawText.cs#L18
Type 'DrawText' owns disposable field(s) 'image', 'sdBitmap', 'sdFont', 'skBitmap', 'skCanvas' but is not disposable (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1001)
Build (false, macos-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Drawing.Benchmarks/Drawing/FillPathGradientBrush.cs#L11
Type 'FillPathGradientBrush' owns disposable field(s) 'image' but is not disposable (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1001)
Build (false, windows-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, windows-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, 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): 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): 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, windows-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, windows-latest, net7.0, 7.0.x, true, -x64, false): 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, net7.0, 7.0.x, true, -x64, false): 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)
Build (false, windows-latest, net7.0, 7.0.x, true, -x64, false): 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)
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/Drawing/FillRadialGradientBrushTests.cs#L15
Non-constant fields should not be visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2211)
Build (false, windows-latest, net6.0, 6.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/Drawing/Paths/FillPathBuilder.cs#L13
Member 'path' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
Build (false, windows-latest, net6.0, 6.0.x, -x64, true): 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)
Build (false, windows-latest, net6.0, 6.0.x, -x64, true): 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)
Build (false, windows-latest, net6.0, 6.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/ValidateDisposedMemoryAllocationsAttribute.cs#L12
Member 'expected' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
Build (false, windows-latest, net6.0, 6.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/Processing/BaseImageOperationsExtensionTest.cs#L13
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/Processing/BaseImageOperationsExtensionTest.cs#L11
Type 'BaseImageOperationsExtensionTest' owns disposable field(s) 'source' 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.Tests/Processing/BaseImageOperationsExtensionTest.cs#L15
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): 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): 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, windows-latest, net6.0, 6.0.x, -x64, true): 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, net6.0, 6.0.x, -x64, true): 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, windows-latest, net6.0, 6.0.x, -x64, true): 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, 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/Drawing/FillRadialGradientBrushTests.cs#L15
Non-constant fields should not be visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2211)
Build (false, windows-latest, net6.0, 6.0.x, -x64, true): 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)