Search Results for

    Show / Hide Table of Contents

    Class StructuralSwitchFlowComparer

    An equality comparer that for structural switch flow equality.

    Inheritance
    object
    StructuralSwitchFlowComparer
    Implements
    IEqualityComparer<SwitchFlow>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Flame.Compiler.Flow
    Assembly: Flame.Compiler.dll
    Syntax
    public sealed class StructuralSwitchFlowComparer : IEqualityComparer<SwitchFlow>

    Methods

    | Edit this page View Source

    Equals(SwitchFlow, SwitchFlow)

    Tests if two switch flows are structurally equal.

    Declaration
    public bool Equals(SwitchFlow x, SwitchFlow y)
    Parameters
    Type Name Description
    SwitchFlow x

    A first switch flow.

    SwitchFlow y

    A second switch flow.

    Returns
    Type Description
    bool

    true if the switch flows are structurally equal; otherwise, false.

    | Edit this page View Source

    GetHashCode(SwitchFlow)

    Computes the hash code for a particular switch flow.

    Declaration
    public int GetHashCode(SwitchFlow obj)
    Parameters
    Type Name Description
    SwitchFlow obj

    The switch flow to compute a hash code for.

    Returns
    Type Description
    int

    A hash code.

    Implements

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