Enable nullability checks #532
Annotations
20 warnings
tests/ImageSharp.Drawing.Tests/TestFormat.cs#L179
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
tests/ImageSharp.Drawing.Tests/TestFormat.cs#L179
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
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)
|
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)
|
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)
|
The logs for this run have expired and are no longer available.
Loading