Show / Hide Table of Contents

    Class PointerKind

    Identifies a particular kind of pointer.

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

    Fields

    | Improve this Doc 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
    | Improve this Doc 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
    | Improve this Doc View Source

    Transient

    The pointer kind for transient pointers.

    Declaration
    public static readonly PointerKind Transient
    Field Value
    Type Description
    PointerKind

    Methods

    | Improve this Doc 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
    System.Boolean
    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public abstract override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()
    | Improve this Doc View Source

    ToString()

    Declaration
    public abstract override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    Implements

    System.IEquatable<T>
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX