Enable nullability checks #532
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#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#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):
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/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)
|
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false):
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)
|
Build (false, ubuntu-latest, net6.0, 6.0.x, -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, 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/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)
|
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, ubuntu-latest, net7.0, 7.0.x, true, -x64, false):
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, 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#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#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.Tests/TestImages.cs#L3
Code should not contain multiple blank lines in a row (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1507.md)
|
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):
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):
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, 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/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.Tests/TestImages.cs#L3
Code should not contain multiple blank lines in a row (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1507.md)
|
Build (false, macos-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, macos-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, macos-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, macos-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, macos-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):
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/FileProvider.cs#L9
Using alias directives should be placed after all using namespace directives (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1209.md)
|
Build (false, windows-latest, net7.0, 7.0.x, true, -x64, false):
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, net7.0, 7.0.x, true, -x64, false):
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/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/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)
|
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#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#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#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#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#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/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)
|
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)
|