public static void Compare(PrimitivesMessage a, PrimitivesMessage b) { A(a.m_bool == b.m_bool); A(a.m_byte == b.m_byte); A(a.m_sbyte == b.m_sbyte); A(a.m_char == b.m_char); A(a.m_ushort == b.m_ushort); A(a.m_short == b.m_short); A(a.m_uint == b.m_uint); A(a.m_int == b.m_int); A(a.m_ulong == b.m_ulong); A(a.m_long == b.m_long); A(a.m_single == b.m_single); A(a.m_double == b.m_double); A(a.m_enum == b.m_enum); A(a.m_date == b.m_date); }