docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetHashCode

    GetHashCode(TypeReference)

    Returns a hash code for the specified object.

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

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

    Returns
    Type Description
    int

    A hash code for the specified object.

    Implements
    IEqualityComparer<T>.GetHashCode(T)
    Exceptions
    Type Condition
    ArgumentNullException

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

    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)