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
The text was updated successfully, but these errors were encountered:
Muximize
changed the title
.NET 9 performance improvements to Enumerable.Any() invalidates rule CA1860
.NET 9 perf improvements to Enumerable.Any() invalidates rule CA1860
Feb 14, 2025
Analyzer
Diagnostic ID: CA1860 (Avoid using
Enumerable.Any()
extension method)Describe the improvement
dotnet/runtime#99218 significantly improved
.Any()
performance. Doesn't this invalidate this rule?Describe suggestions on how to achieve the rule
Disable the rule for .NET 9 and later.
Additional context
https://devblogs.microsoft.com/dotnet/performance-improvements-in-net-9/#linq
The text was updated successfully, but these errors were encountered: