Extension methods for the ICompilation interface.
Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
public static class CompilationExtensionsMethods
| Name | Description |
|---|---|
| GetDeclarationsWithAttribute(ICompilation, Type, Func<IAttribute, bool>?, bool) | Gets all declarations in the compilation that are annotated with a specific attribute type, specified as a reflection Type. |
| GetDeclarationsWithAttribute<TAttribute>(ICompilation, Func<TAttribute, bool>?, bool) | Gets all declarations in the compilation that are annotated with a specific attribute type. |