Metalama / / API Documentation / Advanced API / Metalama.​Framework.​Engine.​Code­Fixes / ISdk­Code­Action­Context / Update­Tree
Open sandbox

Method UpdateTree

UpdateTree(SyntaxTree, SyntaxTree)

Declaration
void UpdateTree(SyntaxTree transformedTree, SyntaxTree originalTree)
Parameters
Type Name Description
SyntaxTree transformedTree
SyntaxTree originalTree

UpdateTree(SyntaxNode, SyntaxTree)

Declaration
void UpdateTree(SyntaxNode transformedRoot, SyntaxTree originalTree)
Parameters
Type Name Description
SyntaxNode transformedRoot
SyntaxTree originalTree