public static bool ContainsIncompatibleDifferences(this IDifferences differences) { if (differences.DifferenceType == DifferenceType.Changed) { return(!differences.OfType <IncompatibleDifference>().Any()); } return(true); }