public static bool operator !=(PropertyKey a, PropertyKey b) { if ((object)a == null) return (object)b != null; else if ((object)b == null) return true; else return a.typeKey != b.typeKey || a.type != b.type || a.name != b.name; }