MetalamaAPI documentationAspect APIMetalama.​Framework.​CodeIAttribute
Open sandboxFocus

IAttribute Interface

Represent a custom attributes.

Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
public interface IAttribute : IDeclaration, IDisplayable, IDiagnosticLocation, ICompilationElement, IMeasurable, IAttributeData, IAspectPredecessor

Properties

Name Description
ContainingDeclaration

Gets the declaration that owns the custom attribute.

Extension Methods

AttributeExtensions.ToAttributeConstruction(IAttribute)
AttributeExtensions.TryGetNamedArgument(IAttribute, String, out TypedConstant)
AttributeExtensions.TryConstruct(IAttribute, ScopedDiagnosticSink, out Attribute)

See Also