32 packages tagged with “CodeFix”
AsyncFixer detects common async/await anti-patterns and, when possible, offers automatic fixes. It currently reports 6 categories of async/await misuse and provides code fixes for 3 of them. It has been validated against thousands of open-source C# projects and is designed to handle tricky real-world edge cases. Tool-friendly diagnostics support AI-assisted workflows even when a built-in code fix is not available.
Auto generate Bogus Faker[T].RuleFor() rules in C# with this Roslyn analyzer and code fixer. This is a premium feature and requires an active subscription.
Helpers & extensions for writing Roslyn analyzers and code fixes.
A set of Roslyn analyzers for diagnostic/fix of various asynchronous practices.
Helpers & extensions for writing Roslyn analyzers and code fixes. This is a package with source files to avoid binary dependency for the analyzer. To work it requires dependency on TunnelVisionLabs.ReferenceAssemblyAnnotator <ItemGroup> <PackageDownload Include="Microsoft.NETCore.App.Ref" Version="[6.0.0]" /> <PackageReference Include="TunnelVisionLabs.ReferenceAssemblyAnnotator" Version="1.0.0-alpha.160" /> </ItemGroup>
Analyzers and CodeFixes for [Record]-marked types. See project site for more details.
Helps transform NUnit v2 to NUnit v3. It consists of a set of Roslyn analyzers and code fixers. Add it to your NUnit v2 test projects, make use of auto fixes, adjust manually when needed, bump NUnit to v3.
Code fix provider for `C#` code log diagnosis `CA1727`, `CA2253`, `CA2254`. 针对 `C#` 代码日志诊断 `CA1727`, `CA2253`, `CA2254` 的代码修复提供程序
#pragma directive analyzer and codefix provider.
C# analyzer + code fix to sort files by KIND.
Roslyn analyzer that ensures proper equality attribute usage on collection properties in Generator.Equals classes. Supports arrays, lists, and collections with intelligent code fixes for IgnoreEquality, DefaultEquality, SequenceEquality, ReferenceEquality, OrderedEquality, and UnorderedEquality attributes.
Companion Roslyn code fixes for CsEffect that add required effect annotations automatically.
A Roslyn analyzer for fixing inefficient usage of ToList and other anti-patterns, including automatic code fixes.
Fluent testing framework for Roslyn analyzers, code fixes, and incremental generators with caching validation, forbidden type detection, and comprehensive assertion support.
C# records (immutable structs and classes) analyzer and code fix to create Constructor and `With` method. Installs as a development dependency.
Helpers & extensions for writing Roslyn analyzers and code fixes. This is a package with source files to avoid binary dependency for the analyzer. To work it requires dependency on TunnelVisionLabs.ReferenceAssemblyAnnotator <ItemGroup> <PackageDownload Include="Microsoft.NETCore.App.Ref" Version="[8.0.0]" /> <PackageReference Include="TunnelVisionLabs.ReferenceAssemblyAnnotator" Version="1.0.0-alpha.160" /> </ItemGroup>
Roslyn analyzer that detects and removes Cyrillic letters in code.
Analyzers for rIDE architecture, now with naming enforcement for DTOs, Managers, Engines, and Accessors based on namespace and suffix, as well as DTO property type restrictions.
Provides an extension method IsFalse() for Booleans, along with analyzers to encourage usage.
A set of roslyn analyzers for convenient use of Unity coroutines
A Roslyn analyzer and code fix provider that detects obsolete members and replaces them with their suggested alternatives.
Advanced Roslyn analyzer and code fix provider for generating intelligent XML documentation comments in C# code. Features smart summarization, parameter detection, and bulk fixing capabilities.
RegexStringLiterals package for managing and validating regex-based string literals with analyzers and code fixes.
Custom Roslyn analyzers for Entity Framework Core performance and best practices. Includes EFCORE001 (IReadOnlySet.Contains detection) and EFCORE002 (GroupBy without Select detection) with automatic code fixes.
Sample Roslyn analyzers and code fix providers for C# projects. Includes a greater-than analyzer and code fix.
Roslyn analyzers and code fixes for EmberTrace usage.
Roslyn CodeFix for migrating Library.* namespaces to Chd.* across all CHD projects.
A Roslyn analyzer that detects async Task- and ValueTask-returning methods missing a CancellationToken parameter, offering diagnostics and automated code fixes.