Пример #1
0
        int IEqualityComparer <MethodSymbol> .GetHashCode(MethodSymbol method)
        {
            int hash = 1;

            if (method != null)
            {
                hash = HashFunctions.CombineHashKey(hash, method.ContainingType);
                hash = HashFunctions.CombineHashKey(hash, method.OriginalDefinition);
            }
            return(hash);
        }