MetalamaAPI documentationAdvanced APIMetalama.​CompilerTransformer­ContextCompilation
Open sandboxFocus

TransformerContext.Compilation Property

Compilation

Gets the original Compilation. Transformers typically modify the compilation by using methods on this TransformerContext, though such modifications are not reflection on this property.

Declaration
public Compilation Compilation { get; }
Property Value
Type Description
Microsoft.CodeAnalysis.Compilation