Show / Hide Table of Contents

    Class ExternAttribute

    An attribute that indicates that a method is implemented by calling into an external library.

    Inheritance
    System.Object
    ExternAttribute
    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.dll
    Syntax
    public sealed class ExternAttribute : IAttribute

    Constructors

    | Improve this Doc View Source

    ExternAttribute()

    Creates a new extern attribute.

    Declaration
    public ExternAttribute()
    | Improve this Doc View Source

    ExternAttribute(String)

    Creates a new extern attribute.

    Declaration
    public ExternAttribute(string importName)
    Parameters
    Type Name Description
    System.String importName

    The name of the imported function.

    Fields

    | Improve this Doc View Source

    AttributeType

    The attribute type of extern attributes.

    Declaration
    public static readonly IType AttributeType
    Field Value
    Type Description
    IType

    An attribute type.

    Properties

    | Improve this Doc View Source

    ImportNameOrNull

    Gets the name of the imported function, if any.

    Declaration
    public string ImportNameOrNull { get; }
    Property Value
    Type Description
    System.String

    The imported name.

    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