MetalamaAPI documentationAspect APIMetalama.​Framework.​CodeICompilation­Element
Open sandboxFocus

ICompilationElement Interface

Exposes a Compilation property.

Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public interface ICompilationElement

Properties

Name Description
Compilation

Gets the ICompilation to which this type belongs (which does not mean that the type is declared by the main project of the compilation).

Extension Methods

DeclarationExtensions.ForCompilation<T>(T, ICompilation, ReferenceResolutionOptions)
DeclarationExtensions.TryForCompilation<T>(T, ICompilation, out T, ReferenceResolutionOptions)