示例#1
0
 internal override int UnionHashCode(int strength)
 {
     if (strength >= MergeStrength.ToObject)
     {
         return(ProjectState.ClassInfos[BuiltinTypeId.Object].GetHashCode());
     }
     return(ClassInfo.UnionHashCode(strength));
 }
示例#2
0
        internal override int UnionHashCode(int strength)
        {
            if (strength >= MergeStrength.ToObject)
            {
                return(ProjectState.ClassInfos[BuiltinTypeId.Object].Instance.UnionHashCode(strength));
            }
            else if (strength >= MergeStrength.ToBaseClass)
            {
                return(ClassInfo.UnionHashCode(strength));
            }

            return(base.UnionHashCode(strength));
        }
 internal override int UnionHashCode(int strength)
 {
     return(ClassInfo.UnionHashCode(strength));
 }