WithSyntaxTreeTransformations(IReadOnlyList<SyntaxTreeTransformation>?)
Returns a new IPartialCompilation with the specified syntax tree transformations applied.
Declaration
IPartialCompilation WithSyntaxTreeTransformations(IReadOnlyList<SyntaxTreeTransformation>? transformations = null)Parameters
| Type | Name | Description |
|---|---|---|
| IReadOnlyList<SyntaxTreeTransformation> | transformations | The list of transformations to apply. Each SyntaxTreeTransformation
can add, remove, or replace a syntax tree. Pass |
Returns
| Type | Description |
|---|---|
| IPartialCompilation | A new IPartialCompilation with the transformations applied. |