Ferrous API Reference

All Types / Ferrous.CodeFixes

class FerrousStructuralMigrationRefactoringProvider

public sealed class FerrousStructuralMigrationRefactoringProvider : CodeRefactoringProvider

On-demand Roslyn IDE structural refactoring provider (Ctrl+. / lightbulb) for migrating higher-level C# patterns to Ferrous: Convert abstract record hierarchy → [DiscriminatedUnion] struct Convert lock (_gate) + protected field → Mutex<T>

Methods

public override async Task ComputeRefactoringsAsync(CodeRefactoringContext context)