Table of Contents

Class RoslynCodeFixProvider

Namespace
SunamoRoslyn
Assembly
SunamoRoslyn.dll

Provides a code fix that converts type names to uppercase for diagnostics reported by RoslynAnalyzer.

public class RoslynCodeFixProvider : CodeFixProvider
Inheritance
RoslynCodeFixProvider
Inherited Members
Extension Methods

Properties

FixableDiagnosticIds

Gets the diagnostic IDs that this provider can fix.

public override sealed ImmutableArray<string> FixableDiagnosticIds { get; }

Property Value

ImmutableArray<string>

Methods

GetFixAllProvider()

Gets the fix all provider for batch fixing.

public override sealed FixAllProvider GetFixAllProvider()

Returns

FixAllProvider

The batch fix all provider.

RegisterCodeFixesAsync(CodeFixContext)

Registers code fixes for the given diagnostics in the context.

public override sealed Task RegisterCodeFixesAsync(CodeFixContext context)

Parameters

context CodeFixContext

The code fix context containing diagnostics to fix.

Returns

Task