Example #1
0
        public int GetGetBinderEquivalenceHash()
        {
            int hash = _callingContext?.GetHashCode() ?? 0;

            hash = BinderHelper.AddArgHashes(hash, _argumentInfo);

            return(hash);
        }
        public int GetGetBinderEquivalenceHash()
        {
            int hash = CallingContext?.GetHashCode() ?? 0;

            hash = HashHelpers.Combine(hash, (int)Flags);
            hash = HashHelpers.Combine(hash, Name.GetHashCode());

            hash = BinderHelper.AddArgHashes(hash, TypeArguments, _argumentInfo);

            return(hash);
        }
        public int GetGetBinderEquivalenceHash()
        {
            int hash = _callingContext?.GetHashCode() ?? 0;

            hash = HashHelpers.Combine(hash, (int)Operation);
            if (IsChecked)
            {
                hash = HashHelpers.Combine(hash, 1);
            }
            hash = BinderHelper.AddArgHashes(hash, _argumentInfo);

            return(hash);
        }
Example #4
0
        public int GetGetBinderEquivalenceHash()
        {
            int hash = _callingContext?.GetHashCode() ?? 0;

            if (ResultIndexed)
            {
                hash = HashHelpers.Combine(hash, 1);
            }
            hash = HashHelpers.Combine(hash, Name.GetHashCode());
            hash = BinderHelper.AddArgHashes(hash, _argumentInfo);

            return(hash);
        }