Open sandboxFocus

Property MutableCompilation

MutableCompilation

Gets the mutable compilation that the current IAspectBuilder is working on. It includes all modifications made by the current aspect so far, including advice added programmatically via AdviserExtensions methods and advice added declaratively via attributes like IntroduceAttribute.

Declaration
ICompilation MutableCompilation { get; }
Property Value
Type Description
ICompilation
Remarks

Use MutableCompilation when you need to query the code model with transformations from the current aspect applied. Use Compilation when you need to see the original, unmodified code model.

See Also