public static bool operator == (TpmStructureBase lhs, TpmStructureBase rhs) { if ((Object)lhs == null) { return (Object)rhs == null; } return lhs.Equals(rhs); }