public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = base.GetHashCode();
         if (ItemVariableDeclarationModel)
         {
             hashCode = (hashCode * 197) ^ (ItemVariableDeclarationModel.GetHashCode());
         }
         return(hashCode);
     }
 }
Exemplo n.º 2
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = base.GetHashCode();
         if (ItemVariableDeclarationModel != null)
         {
             hashCode = (hashCode * 197) ^ (ItemVariableDeclarationModel.GetHashCode());
         }
         if (IndexVariableDeclarationModel != null)
         {
             hashCode = (hashCode * 198) ^ (IndexVariableDeclarationModel.GetHashCode());
         }
         if (CountVariableDeclarationModel != null)
         {
             hashCode = (hashCode * 199) ^ (CountVariableDeclarationModel.GetHashCode());
         }
         return(hashCode);
     }
 }