APISampleUnitTestsCS.Parsing.TextParseTreeRoundtrip C# (CSharp) Метод

TextParseTreeRoundtrip() приватный Метод

private TextParseTreeRoundtrip ( ) : void
Результат void
        public void TextParseTreeRoundtrip()
        {
            string text = "class C { void M() { } } // exact text round trip, including comments and whitespace";
            SyntaxTree tree = SyntaxTree.ParseText(text);
            Assert.AreEqual(text, tree.ToString());
        }