var a = new ObjectA();
var b = new ObjectB();
a.Should().Be(b);
This is of course a syntactical error, but causing a StackOverflowException to be thrown isn't the best way to handle it either.
var b = new ObjectB();
a.Should().Be(b);
This is of course a syntactical error, but causing a StackOverflowException to be thrown isn't the best way to handle it either.