private static void CheckTwoDomainInvariants(Domain domain1, Domain domain2) { domain1.AssertInvariant(); domain2.AssertInvariant(); // The possible values must match Debug.Assert(domain1.m_possibleValues.SetEquals(domain2.m_possibleValues), "domains must be compatible"); }
private static void CheckTwoDomainInvariants(Domain domain1, Domain domain2) { domain1.AssertInvariant(); domain2.AssertInvariant(); }
private static void CheckTwoDomainInvariants(Domain domain1, Domain domain2) { domain1.AssertInvariant(); domain2.AssertInvariant(); // The possible values must match Debug.Assert(domain1.m_possibleValues.SetEquals(domain2.m_possibleValues), "domains must be compatible"); }