You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Split dotnet_style_prefer_collection_expression to independently configure + autofix when_types_loosely_match and when_types_exactly_match #57359
I want when_types_exactly_match to appear as warnings and I want to run autofixes on them.
I want when_types_loosely_match to appear as suggestion (current default) and I won't run autofixes on them.
Or more concisely: dotnet_style_prefer_collection_expression_exact_types / dotnet_style_prefer_collection_expression_loose_types
Alternatives you've considered
Leaving default dotnet_style_prefer_collection_expression = when_types_loosely_match:suggestion and having custom configuration + scripts for analyzer & fixes that redo dotnet_style_prefer_collection_expression = when_types_exactly_match:warning
🟨 Confidence:medium - Roslyn IDE style option is the strongest fit, but no CODEOWNERS section matches it.
➡️ Summary: Requests splitting the dotnet_style_prefer_collection_expression editorconfig option so exact and loose type matches get independent severities and autofixes. Follow up with the Roslyn IDE team, since the option is implemented there.
Generated by 🏷️ Issue Triage for #57359 · copilot · auto (Claude Sonnet 5.5) · ~17 AIC · ⌖ ~2 AIC · ⊞ 15.5K · ◷
Activity
github-actions commentedon Nov 25, 2026
🎯 Agentic Issue Triage
Triage Assessment:
medium- Roslyn IDE style option is the strongest fit, but no CODEOWNERS section matches it.➡️ Summary: Requests splitting the dotnet_style_prefer_collection_expression editorconfig option so exact and loose type matches get independent severities and autofixes. Follow up with the Roslyn IDE team, since the option is implemented there.