Delen via


Microsoft.CodeAnalysis.Editing Namespace

Classes

DocumentEditor

An editor for making changes to a document's syntax tree.

ImportAdder
SolutionEditor

An editor for making changes to multiple documents in a solution.

SymbolEditor

An editor for making changes to symbol source declarations.

SymbolEditorExtensions
SyntaxEditor

An editor for making changes to a syntax tree. The editor works by giving a list of changes to perform to a particular tree in order. Changes are given a SyntaxNode they will apply to in the original tree the editor is created for. The semantics of application are as follows:

SyntaxEditorExtensions
SyntaxGenerator

A language agnostic factory for creating syntax nodes.

This API can be used to create language specific syntax nodes that are semantically similar between languages.

The trees generated by this API will try to respect user preferences when possible. For example, generating MemberAccessExpression(SyntaxNode, String) will be done in a way such that "this." or "Me." will be simplified according to user preference if Simplifier is used.

Structs

DeclarationModifiers

Enums

DeclarationKind
OperatorKind
SpecialTypeConstraintKind

Delegates

SymbolEditor.AsyncDeclarationEditAction

An action that make changes to a declaration node within a SyntaxTree.

SymbolEditor.DeclarationEditAction

An action that make changes to a declaration node within a SyntaxTree.