private bool Equals(DummyResource other) { if (ReferenceEquals(null, other)) return false; return ReferenceEquals(this, other) || Equals(other.DummyProperty, DummyProperty); }