docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MethodDefinitionSignatureComparer

    Inheritance
    object
    MethodDefinitionSignatureComparer
    Implements
    IEqualityComparer<MethodDefinition>
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Unity.APIComparison.Framework.Collectors
    Assembly: solution.dll
    Syntax
    public sealed class MethodDefinitionSignatureComparer : IEqualityComparer<MethodDefinition>

    Fields

    Instance

    Declaration
    public static IEqualityComparer<MethodDefinition> Instance
    Field Value
    Type Description
    IEqualityComparer<MethodDefinition>

    Methods

    Equals(MethodDefinition, MethodDefinition)

    Determines whether the specified objects are equal.

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

    The first object of type T to compare.

    MethodDefinition y

    The second object of type T to compare.

    Returns
    Type Description
    bool

    true if the specified objects are equal; otherwise, false.

    GetHashCode(MethodDefinition)

    Returns a hash code for the specified object.

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

    The object for which a hash code is to be returned.

    Returns
    Type Description
    int

    A hash code for the specified object.

    Exceptions
    Type Condition
    ArgumentNullException

    The type of obj is a reference type and obj is null.

    Implements

    IEqualityComparer<T>
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)