예제 #1
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);
     }
 }