AK.F1.Timing.Serialization.DecoratedObjectWriterTest.the_same_graph_written_on_the_same_stream_is_not_detected_as_a_circular_reference C# (CSharp) Method

the_same_graph_written_on_the_same_stream_is_not_detected_as_a_circular_reference() private method

        public void the_same_graph_written_on_the_same_stream_is_not_detected_as_a_circular_reference()
        {
            var graph = new SimpleType();

            using(var writer = CreateWriter())
            {
                writer.Write(graph);
                writer.Write(graph);
            }
        }