Click or drag to resize

SemanticEdit Class



Describes a symbol edit between two compilations. For example, an addition of a method, an update of a method, removal of a type, etc.
Inheritance Hierarchy
SystemValueType
  Microsoft.CodeAnalysis.EmitSemanticEdit

Namespace:  Microsoft.CodeAnalysis.Emit
Assembly:  Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public sealed class SemanticEdit : ValueType, 
	IEquatable

The SemanticEdit type exposes the following members.

Constructors
  NameDescription
Public methodSemanticEdit
Initializes a new instance of the SemanticEdit class
Top
Properties
  NameDescription
Public propertyKind
The type of edit.
Public propertyNewSymbol
The symbol from the later compilation, or null if the edit represents a deletion.
Public propertyOldSymbol
The symbol from the earlier compilation, or null if the edit represents an addition.
Public propertyPreserveLocalVariables
True if the edit is an update of the active method and local values should be preserved; false otherwise.
Public propertySyntaxMap
A map from syntax node in the later compilation to syntax node in the previous compilation, or null if PreserveLocalVariables is false and the map is not needed or the source of the current method is the same as the source of the previous method.
Top
Methods
See Also