Class MemorySpecificationAttribute
An attribute that attaches a memory specification to a method.
Implements
Inherited Members
Namespace: Flame.TypeSystem
Assembly: Flame.Compiler.dll
Syntax
public sealed class MemorySpecificationAttribute : IAttribute
Constructors
| Edit this page View SourceMemorySpecificationAttribute(MemorySpecification)
Creates a memory specification attribute.
Declaration
public MemorySpecificationAttribute(MemorySpecification specification)
Parameters
| Type | Name | Description |
|---|---|---|
| MemorySpecification | specification | A memory specification. |
Fields
| Edit this page View SourceAttributeType
The attribute type of memory specification attributes.
Declaration
public static readonly IType AttributeType
Field Value
| Type | Description |
|---|---|
| IType | An attribute type. |
Properties
| Edit this page View SourceSpecification
Gets the memory specification wrapped by this memory specification attribute.
Declaration
public MemorySpecification Specification { get; }
Property Value
| Type | Description |
|---|---|
| MemorySpecification | A memory specification. |