public static bool operator ==(Transaction x, Transaction y) { if (((object)x) != null) { return x.Equals(y); } return ((object)y) == null; }