public void M(ConstructorTestDerived obj) { Contract.Requires(obj != null); Contract.Assert(this != null); var last = obj; while (obj != null) { last = obj; obj = obj.next; } Contract.Assert(last != null); Contract.Assert(this != null); }
public void M(ConstructorTestDerived obj) { Contract.Requires(obj != null); Contract.Assert(this != null); var last = obj; while (obj != null) { last = obj; obj = obj.next; } Contract.Assert(last != null); Contract.Assert(this != null); }