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

            DoVisit(cyclic);

            AssertVisited(ObjectHeader,
                            ObjectSummary,
                                MemberName, Primitive,
                                MemberName,
                                    ObjectHeader,
                                    ObjectSummary,
                            ObjectFooter);
        }
示例#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);
        }