예제 #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Project != null ? Project.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ProjectConfiguration != null ? ProjectConfiguration.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Platform != null ? Platform.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (SolutionConfiguration != null ? SolutionConfiguration.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ StartedAt.GetHashCode();
         hashCode = (hashCode * 397) ^ Duration.GetHashCode();
         hashCode = (hashCode * 397) ^ Successful.GetHashCode();
         return(hashCode);
     }
 }
예제 #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((ProjectName != null ? ProjectName.GetHashCode() : 0) * 397) ^ (ProjectConfiguration != null ? ProjectConfiguration.GetHashCode() : 0));
     }
 }