示例#1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((Name.GetHashCode() * 397) ^ XamlType.GetHashCode());
     }
 }
示例#2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Instance != null ? Instance.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (XamlType != null ? XamlType.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (XamlMember != null ? XamlMember.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ IsGetObject.GetHashCode();
         hashCode = (hashCode * 397) ^ (Collection != null ? Collection.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (CtorArguments != null ? CtorArguments.GetHashCode() : 0);
         return(hashCode);
     }
 }
示例#3
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (XamlType != null ? XamlType.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Namespace != null ? Namespace.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (int)NodeType;
         hashCode = (hashCode * 397) ^ (PropertyAttribute != null ? PropertyAttribute.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Prefix != null ? Prefix.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (PropertyElement != null ? PropertyElement.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (PropertyAttributeText != null ? PropertyAttributeText.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Text != null ? Text.GetHashCode() : 0);
         return(hashCode);
     }
 }