Method
GetFixAll
func GetFixAll(projectId: ProjectId, provider: CodeFixProvider, scope: FixAllScope, codeActionEquivalenceKey: string, documentId: Nullable<DocumentId> = default, analyzerOptions: CompilationWithAnalyzersOptions? = null, cancellationToken: CancellationToken = default) -> CodeAction?
Declaring type: Workspace
Namespace: Raven.CodeAnalysis
Assembly: Raven.CodeAnalysis.dll
Source file: Workspace.cs
Gets a Fix All action for equivalent fixes within the requested scope.
Parameters
| Name | Type | Description |
|---|---|---|
projectId |
ProjectId | |
provider |
CodeFixProvider | |
scope |
FixAllScope | |
codeActionEquivalenceKey |
String | |
documentId |
Nullable<DocumentId> | |
analyzerOptions |
CompilationWithAnalyzersOptions? | |
cancellationToken |
CancellationToken |