Show / Hide Table of Contents

    Class MemorySpecificationAttribute

    An attribute that attaches a memory specification to a method.

    Inheritance
    System.Object
    MemorySpecificationAttribute
    Implements
    IAttribute
    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 Source

    MemorySpecificationAttribute(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 Source

    AttributeType

    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 Source

    Specification

    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 Source

    IAttribute.AttributeType

    Declaration
    IType IAttribute.AttributeType { get; }
    Returns
    Type Description
    IType

    Implements

    IAttribute
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX