Open sandboxFocus

Interface ICompilationSet

Represents a set of compilations and exposes lists of declarations that merge the declarations from all the compilations in the set.

Namespace: Metalama.Framework.Workspaces
Assembly: Metalama.Framework.Workspaces.dll
Syntax
public interface ICompilationSet
Remarks

This interface provides a unified view of multiple compilations, aggregating declarations such as types, methods, fields, and properties across all compilations in the set. It is used by Workspace and Project to provide access to both source code and transformed code.

Properties

Name Description
Compilations

Gets the list of compilations in the current set.

Constructors

Gets all constructors in the current set of compilations.

Events

Gets all events in the current set of compilations.

Fields

Gets all fields in the current set of compilations.

FieldsAndProperties

Gets all fields and properties in the current set of compilations.

Methods

Gets all methods in the current set of compilations, except local methods.

Properties

Gets all properties in the current set of compilations.

TargetFrameworks

Gets all target frameworks of projects in the current set of compilations.

Types

Gets all types in the current set of compilations, including nested types.

Extension Methods

See Also