/// <summary> /// Given the input C# syntax node <paramref name="node"/> returns the C# source code of /// Roslyn API calls that recreate the syntax node. /// </summary> /// <param name="sourceText">A C# syntax node</param> /// <returns>A C# expression that describes calls to the Roslyn syntax API necessary to recreate /// the input syntax node.</returns> public string Quote(SyntaxNode node) { ApiCall rootApiCall = Quote(node, name: null); if (UseDefaultFormatting) { rootApiCall.Add(new MethodCall(".NormalizeWhitespace")); } return(_CSPrinter_.Print(rootApiCall)); }