次の方法で共有


SemanticEdit.SyntaxMap Property

Definition

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.

Applies to