Enable nullability checks #532
Annotations
10 warnings
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#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)
|
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)
|
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/TestImages.cs#L3
Code should not contain multiple blank lines in a row (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1507.md)
|
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)
|
The logs for this run have expired and are no longer available.
Loading