Microsoft.CodeAnalysis.CodeRefactorings Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Classes
| Name | Description |
|---|---|
| CodeRefactoringProvider |
Inherit this type to provide source code refactorings. Remember to use ExportCodeRefactoringProviderAttribute so the host environment can offer your refactorings in a UI. |
| ExportCodeRefactoringProviderAttribute |
Use this attribute to declare a CodeRefactoringProvider implementation so that it can be discovered by the host. |
| RefactorAllContext |
Context for "Refactor all occurrences" for code refactorings provided by each CodeRefactoringProvider. |
| RefactorAllProvider |
Implement this abstract type to provide refactor all occurrences support for code refactorings. |
Structs
| Name | Description |
|---|---|
| CodeRefactoringContext |
Context for code refactorings provided by a CodeRefactoringProvider. |
Enums
| Name | Description |
|---|---|
| RefactorAllScope |
Indicates scope for "Refactor all occurrences" code fixes provided by each RefactorAllProvider. |