Search Results for

    Show / Hide Table of Contents

    Class AccessModifierAttribute

    A collection of constants and methods that relate to access modifier attributes.

    Inheritance
    object
    AccessModifierAttribute
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Flame.TypeSystem
    Assembly: Flame.dll
    Syntax
    public static class AccessModifierAttribute

    Fields

    | Edit this page View Source

    AttributeName

    The attribute name for access modifier attributes.

    Declaration
    public const string AttributeName = "AccessModifier"
    Field Value
    Type Description
    string

    Methods

    | Edit this page View Source

    Create(AccessModifier)

    Creates an access modifier attribute that encodes an access modifier.

    Declaration
    public static IntrinsicAttribute Create(AccessModifier modifier)
    Parameters
    Type Name Description
    AccessModifier modifier

    The access modifier to encode.

    Returns
    Type Description
    IntrinsicAttribute

    An access modifier attribute.

    | Edit this page View Source

    GetAccessModifier(IMember)

    Gets a member's access modifier. Members are internal by default.

    Declaration
    public static AccessModifier GetAccessModifier(this IMember member)
    Parameters
    Type Name Description
    IMember member

    The member to examine.

    Returns
    Type Description
    AccessModifier

    The member's access modifier if it has one; otherwise, internal.

    | Edit this page View Source

    Read(IntrinsicAttribute)

    Reads out an access modifier attribute as an access modifier.

    Declaration
    public static AccessModifier Read(IntrinsicAttribute attribute)
    Parameters
    Type Name Description
    IntrinsicAttribute attribute

    The access modifier attribute to read.

    Returns
    Type Description
    AccessModifier

    The access modifier described by the attribute.

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX