public void CanSerializeImmutableMessagesWithPrivateCtor()
        {
            var message = new ImmutableMessageWithPrivateCtor(Tuple.Create("aaa", "bbb"));

            AssertEqual(message);
        }
Beispiel #2
0
 protected bool Equals(ImmutableMessageWithPrivateCtor other)
 {
     return(String.Equals(Bar, other.Bar) && String.Equals(Foo, other.Foo));
 }