Skip to content

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

Expose non-nullable configuration to remove AOT limiting null check

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

Triggered via pull request August 17, 2023 10:29
Status Success
Total duration 11m 6s
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, 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, 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/TestUtilities/AsyncStreamWrapper.cs#L7
'AsyncStreamWrapper' overrides array-based 'ReadAsync' but does not override memory-based 'ReadAsync'. Consider overriding memory-based 'ReadAsync' to improve performance.
Build (false, ubuntu-latest, net6.0, 6.0.x, -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.
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, 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, windows-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, 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
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, 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/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/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/Bulk/FromVector4.cs#L21
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/FromVector4.cs#L23
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)