Represents a subset of a Roslyn Compilation. The subset is limited to specific syntax trees.
Namespace: Metalama.Framework.Engine.CodeModel
Assembly: Metalama.Framework.Sdk.dll
Syntax
public interface IPartialCompilationProperties
| Name | Description |
|---|---|
| Compilation | Gets the Roslyn Compilation. |
| IsPartial | Gets a value indicating whether the current IPartialCompilation is actually partial, or represents a complete compilation. |
| Namespaces | Gets the namespaces that contain types. |
| Resources | Gets the list of managed resources for the current compilation. This property is not defined at the design time, only at compile time. |
| SyntaxTrees | Gets the list of syntax trees in the current subset. |
| Types | Gets the types declared in the current subset. |
Methods
| Name | Description |
|---|---|
| WithAdditionalResources(params ManagedResource[]) | |
| WithSyntaxTreeTransformations(IReadOnlyList<SyntaxTreeTransformation>?) |