public void CanSerializeImmutableMessagesWithPrivateCtor() { var message = new ImmutableMessageWithPrivateCtor(Tuple.Create("aaa", "bbb")); AssertEqual(message); }
protected bool Equals(ImmutableMessageWithPrivateCtor other) { return(String.Equals(Bar, other.Bar) && String.Equals(Foo, other.Foo)); }