Open sandboxFocus

Property AspectInstances

AspectInstances

Gets the dictionary of aspect instances that must be processed, keyed by their target ISymbol.

Declaration
public IReadOnlyDictionary<ISymbol, IAspectInstance> AspectInstances { get; }
Property Value
Type Description
IReadOnlyDictionary<ISymbol, IAspectInstance>
Remarks

Iterate over this dictionary to process each aspect instance. Use the ISymbol key to locate the target declaration's syntax via DeclaringSyntaxReferences.

To map the Metalama code model to an ISymbol, use extension methods in SymbolExtensions.