MetalamaAPI documentationAdvanced APIMetalama.​CompilerTransformer­ContextAdd­Syntax­Tree­Transformations
Open sandboxFocus

TransformerContext.AddSyntaxTreeTransformations Method

AddSyntaxTreeTransformations(SyntaxTreeTransformation[])

Declaration
public void AddSyntaxTreeTransformations(params SyntaxTreeTransformation[] transformations)
Parameters
Type Name Description
SyntaxTreeTransformation[] transformations

AddSyntaxTreeTransformations(IEnumerable<SyntaxTreeTransformation>)

Declaration
public void AddSyntaxTreeTransformations(IEnumerable<SyntaxTreeTransformation> transformations)
Parameters
Type Name Description
IEnumerable<SyntaxTreeTransformation> transformations