Skip to content

feat: add net9 (preview) #3

feat: add net9 (preview)

feat: add net9 (preview) #3

Triggered via pull request September 10, 2024 03:18
Status Success
Total duration 41s
Artifacts

net-preview.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 warnings
test: src/Correlate.Abstractions/OnException.cs#L7
Rename type name OnException so that it does not end in 'Exception' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
test: src/Correlate.Abstractions/OnException.cs#L13
Rename type name OnException so that it does not end in 'Exception' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
test: src/Correlate.Abstractions/IActivity.cs#L18
Rename virtual/interface member IActivity.Stop() so that it no longer conflicts with the reserved language keyword 'Stop'. Using a reserved keyword as the name of a virtual/interface member makes it harder for consumers in other languages to override/implement the member. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
test: src/Correlate.Core/Http/Extensions/HeaderDictionaryExtensions.cs#L14
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
test: src/Correlate.AspNetCore/AspNetCore/CorrelateOptions.cs#L20
Properties should not return arrays (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1819)