Skip to content

Conversation

@stefannikolei
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings July 6, 2025 12:33
@stefannikolei
Copy link
Contributor Author

@JimBobSquarePants Here are the requested upstream changes

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds new style rules to enforce the use of C# 12 collection expressions.

  • Introduces a “Collection preferences” section in the editorconfig
  • Enables dotnet_style_prefer_collection_expression at error severity
  • Enables ReSharper highlighting for collection expressions at error severity

csharp_style_prefer_primary_constructors = false:none
# Collection preferences
dotnet_style_prefer_collection_expression = true:error
resharper_use_collection_expression_highlighting =true:error
Copy link

Copilot AI Jul 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Add a space after the '=' to match the formatting of the adjacent dotnet_style_prefer_collection_expression entry and improve readability.

Suggested change
resharper_use_collection_expression_highlighting =true:error
resharper_use_collection_expression_highlighting = true:error

Copilot uses AI. Check for mistakes.
@codecov
Copy link

codecov bot commented Jul 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 19%. Comparing base (c92d6fa) to head (8a9aa0c).
Report is 3 commits behind head on main.

Additional details and impacted files
@@        Coverage Diff         @@
##           main   #53   +/-   ##
==================================
  Coverage    19%   19%           
==================================
  Files         4     4           
  Lines       346   346           
  Branches     85    85           
==================================
  Hits         68    68           
  Misses      278   278           
Flag Coverage Δ
unittests 19% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JimBobSquarePants JimBobSquarePants merged commit d0f141b into SixLabors:main Jul 10, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants