Class MemorySpecificationAttribute
An attribute that attaches a memory specification to a method.
Inheritance
System.Object
    MemorySpecificationAttribute
  Implements
Inherited Members
      System.Object.ToString()
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
  Namespace: Flame.TypeSystem
Assembly: Flame.Compiler.dll
Syntax
public sealed class MemorySpecificationAttribute : IAttribute
  Constructors
| Improve this Doc View SourceMemorySpecificationAttribute(MemorySpecification)
Creates a memory specification attribute.
Declaration
public MemorySpecificationAttribute(MemorySpecification specification)
  Parameters
| Type | Name | Description | 
|---|---|---|
| MemorySpecification | specification | A memory specification.  | 
      
Fields
| Improve this Doc View SourceAttributeType
The attribute type of memory specification attributes.
Declaration
public static readonly IType AttributeType
  Field Value
| Type | Description | 
|---|---|
| IType | An attribute type.  | 
      
Properties
| Improve this Doc 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.  | 
      
Explicit Interface Implementations
| Improve this Doc View SourceIAttribute.AttributeType
Declaration
IType IAttribute.AttributeType { get; }
  Returns
| Type | Description | 
|---|---|
| IType |