Skip to content

Expose non-nullable configuration to remove AOT limiting null check #3764

Expose non-nullable configuration to remove AOT limiting null check

Expose non-nullable configuration to remove AOT limiting null check #3764

Triggered via pull request August 17, 2023 10:29
Status Success
Total duration 20m 8s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

build-and-test.yml

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

Annotations

60 warnings
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): tests/ImageSharp.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.Tests/Image/MockImageFormatDetector.cs#L21
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.Tests/Formats/Qoi/ImageExtensionsTest.cs#L4
Using directives should be ordered alphabetically by the namespaces
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): tests/ImageSharp.Tests/Processing/Normalization/MagickCompareTests.cs#L7
Using directives should be ordered alphabetically by the namespaces
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): tests/ImageSharp.Tests/TestFormat.cs#L264
Type SixLabors.ImageSharp.Tests.TestFormat.TestPixelForAgnosticDecode should override Equals because it implements IEquatable<T>
Build (false, windows-latest, net6.0, 6.0.x, -x64, false): tests/ImageSharp.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, false): tests/ImageSharp.Tests/Image/MockImageFormatDetector.cs#L21
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, false): tests/ImageSharp.Tests/Formats/Qoi/ImageExtensionsTest.cs#L4
Using directives should be ordered alphabetically by the namespaces
Build (false, windows-latest, net6.0, 6.0.x, -x64, false): tests/ImageSharp.Tests/TestFormat.cs#L264
Type SixLabors.ImageSharp.Tests.TestFormat.TestPixelForAgnosticDecode should override Equals because it implements IEquatable<T>
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.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.Tests/Image/MockImageFormatDetector.cs#L21
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.Tests/Common/NumericsTests.cs#L14
Non-constant fields should not be visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2211)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.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, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.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, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.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): tests/ImageSharp.Tests/TestFormat.cs#L144
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, macos-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/General/Vectorization/SIMDBenchmarkBase.cs#L13
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, macos-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/General/Vectorization/SIMDBenchmarkBase.cs#L15
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, macos-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/General/Vectorization/SIMDBenchmarkBase.cs#L17
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, macos-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/General/Vectorization/SIMDBenchmarkBase.cs#L19
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, macos-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/General/IO/BufferedStreams.cs#L10
Type 'BufferedStreams' owns disposable field(s) 'bufferedStream1', 'bufferedStream2', 'bufferedStream3', 'bufferedStream4', 'bufferedStreamWrap1', 'bufferedStreamWrap2', 'chunkedMemoryStream1', 'chunkedMemoryStream2', 'stream1', 'stream2', 'stream3', 'stream4', 'stream5', 'stream6', 'stream6' 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.Benchmarks/Bulk/ToVector4.cs#L17
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, macos-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/Bulk/ToVector4.cs#L19
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Build (false, macos-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/Processing/Resize.cs#L19
Member 'bytes' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
Build (false, macos-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/Codecs/Jpeg/BlockOperations/Block8x8F_LoadFromInt16.cs#L16
Member 'dest' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
Build (false, macos-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Benchmarks/Codecs/MultiImageBenchmarkBase.cs#L18
This call site is reachable on all platforms. 'Bitmap' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build (false, windows-latest, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.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.Tests/Image/MockImageFormatDetector.cs#L21
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.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, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.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, net7.0, 7.0.x, true, -x64, false): tests/ImageSharp.Tests/TestFormat.cs#L264
Type SixLabors.ImageSharp.Tests.TestFormat.TestPixelForAgnosticDecode should override Equals because it implements IEquatable<T> (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1067)
Build (false, macos-latest, net6.0, 6.0.x, -x64, false): tests/ImageSharp.Benchmarks/General/IO/BufferedStreams.cs#L10
Type 'BufferedStreams' owns disposable field(s) 'bufferedStream1', 'bufferedStream2', 'bufferedStream3', 'bufferedStream4', 'bufferedStreamWrap1', 'bufferedStreamWrap2', 'chunkedMemoryStream1', 'chunkedMemoryStream2', 'stream1', 'stream2', 'stream3', 'stream4', 'stream5', 'stream6', 'stream6' but is not disposable
Build (false, macos-latest, net6.0, 6.0.x, -x64, false): tests/ImageSharp.Benchmarks/Processing/Resize.cs#L19
Member 'bytes' is explicitly initialized to its default value