public void VisitCompilationUnit(CompilationUnitSyntax node) { if (node == null) throw new ArgumentNullException("node"); node.Validate(); WriteLeadingTrivia(node); if (node.LeadingTrivia.Count > 0) _writer.WriteLine(_writer.Configuration.BlankLines.AfterFileHeaderComment); WriteGlobalNodes( node.Usings, node.Externs, node.Members, node.AttributeLists ); WriteTrailingTrivia(node); }