MetalamaAPI documentationAspect APIMetalama.​Framework.​CodeIAssembly
Open sandboxFocus

IAssembly Interface

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 this assembly, 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 the project being built (false).

ReferencedAssemblies
Types

Gets the list of types declared in this assembly, 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.