Search Results for

    Show / Hide Table of Contents

    Class PointerKind

    Identifies a particular kind of pointer.

    Inheritance
    object
    PointerKind
    Implements
    IEquatable<PointerKind>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Flame.TypeSystem
    Assembly: Flame.dll
    Syntax
    public abstract class PointerKind : IEquatable<PointerKind>

    Fields

    | Edit this page View Source

    Box

    The pointer kind for box pointers. This kind of pointers is used both for boxed 'struct' values and for references to 'class' values.

    Declaration
    public static readonly PointerKind Box
    Field Value
    Type Description
    PointerKind
    | Edit this page View Source

    Reference

    The pointer kind for reference pointers, which are pointers to a value that may or may not be tracked by the garbage collection runtime.

    As a rule, reference pointers should never be used as the type of a field or as the element type of a container.

    Declaration
    public static readonly PointerKind Reference
    Field Value
    Type Description
    PointerKind
    | Edit this page View Source

    Transient

    The pointer kind for transient pointers.

    Declaration
    public static readonly PointerKind Transient
    Field Value
    Type Description
    PointerKind

    Methods

    | Edit this page View Source

    Equals(PointerKind)

    Checks if this pointer kind equals another pointer kind.

    Declaration
    public abstract bool Equals(PointerKind other)
    Parameters
    Type Name Description
    PointerKind other

    The other pointer kind.

    Returns
    Type Description
    bool
    | Edit this page View Source

    Equals(object)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current object.

    Returns
    Type Description
    bool

    true if the specified object is equal to the current object; otherwise, false.

    Overrides
    object.Equals(object)
    | Edit this page View Source

    GetHashCode()

    Serves as the default hash function.

    Declaration
    public override abstract int GetHashCode()
    Returns
    Type Description
    int

    A hash code for the current object.

    Overrides
    object.GetHashCode()
    | Edit this page View Source

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override abstract string ToString()
    Returns
    Type Description
    string

    A string that represents the current object.

    Overrides
    object.ToString()

    Implements

    IEquatable<T>
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX