SemanticEdit.SyntaxMap Property
Definition
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.
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.
public:
property Func<Microsoft::CodeAnalysis::SyntaxNode ^, Microsoft::CodeAnalysis::SyntaxNode ^> ^ SyntaxMap { Func<Microsoft::CodeAnalysis::SyntaxNode ^, Microsoft::CodeAnalysis::SyntaxNode ^> ^ get(); };
public Func<Microsoft.CodeAnalysis.SyntaxNode,Microsoft.CodeAnalysis.SyntaxNode> SyntaxMap { get; }
public Func<Microsoft.CodeAnalysis.SyntaxNode,Microsoft.CodeAnalysis.SyntaxNode?>? SyntaxMap { get; }
member this.SyntaxMap : Func<Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.SyntaxNode>
Public ReadOnly Property SyntaxMap As Func(Of SyntaxNode, SyntaxNode)
Property Value
Remarks
The map does not need to map all syntax nodes in the active method, only those syntax nodes that declare a local or generate a long lived local.