public void Cyclic_references()
        {
            var cyclic = new Cyclic("ciao", null);
            cyclic.Value2 = cyclic;

            DoVisit(cyclic);

            AssertVisited(ObjectHeader,
                            ObjectSummary,
                                MemberName, Primitive,
                                MemberName,
                                    ObjectHeader,
                                    ObjectSummary,
                            ObjectFooter);
        }
Exemple #2
0
        public void Cyclic_references()
        {
            var cyclic = new Cyclic("ciao", null);

            cyclic.Value2 = cyclic;

            DoVisit(cyclic);

            AssertVisited(ObjectHeader,
                          ObjectSummary,
                          MemberName, Primitive,
                          MemberName,
                          ObjectHeader,
                          ObjectSummary,
                          ObjectFooter);
        }