Show / Hide Table of Contents

    Class Constant

    A constant value.

    Inheritance
    System.Object
    Constant
    DefaultConstant
    FieldTokenConstant
    Float32Constant
    Float64Constant
    IntegerConstant
    MethodTokenConstant
    NullConstant
    StringConstant
    TypeTokenConstant
    Implements
    System.IEquatable<Constant>
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Flame
    Assembly: Flame.dll
    Syntax
    public abstract class Constant : IEquatable<Constant>

    Methods

    | Improve this Doc View Source

    Equals(Constant)

    Tests if this constant is equal to another constant.

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

    The other constant.

    Returns
    Type Description
    System.Boolean

    true if the constants are equal; otherwise, false.

    | 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()

    Operators

    | Improve this Doc View Source

    Equality(Constant, Constant)

    Tests if two constants are equal.

    Declaration
    public static bool operator ==(Constant left, Constant right)
    Parameters
    Type Name Description
    Constant left

    A first constant.

    Constant right

    A second constant.

    Returns
    Type Description
    System.Boolean

    true if the constants are equal; otherwise, false.

    | Improve this Doc View Source

    Inequality(Constant, Constant)

    Tests if two constants are not equal.

    Declaration
    public static bool operator !=(Constant left, Constant right)
    Parameters
    Type Name Description
    Constant left

    A first constant.

    Constant right

    A second constant.

    Returns
    Type Description
    System.Boolean

    false if the constants are equal; otherwise, true.

    Implements

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