Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Code / IAssembly

Interface IAssembly

Represents an assembly (typically a reference assembly).

Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
public interface IAssembly : IDeclaration, IDisplayable, IDiagnosticLocation, ICompilationElement, IMeasurable

Properties

Name Description
AllTypes

Gets the list of types declared in the current compilation, in all namespaces, including recursively all nested types. In case of partial compilations (see IsPartial), this collection only contain the types in the current partial compilation.

GlobalNamespace

Gets the global namespace (i.e. the one with an empty name).

Identity

Gets the assembly identity.

IsExternal

Gets a value indicating whether the assembly represents a reference (true), or a project reference (false).

ReferencedAssemblies
Types

Gets the list of types declared in the current compilation, in all namespaces, but not the nested types. In case of partial compilations (see IsPartial), this collection only contain the types in the current partial compilation.

Methods

Name Description
AreInternalsVisibleFrom(IAssembly)

Gets a value indicating whether internal members of the current assembly are accessible from a given assembly.