public override void VisitModule(IModuleSymbol symbol) { _output.AppendLine(new string(' ', 2 * _indent) + symbol.GetType().Name + " " + symbol.Name); _indent++; VisitChildren(symbol.GlobalNamespace); _indent--; }
public override int VisitModule(IModuleSymbol symbol, StringBuilder argument) { argument.AppendLine(new string(' ', 2 * _indent) + symbol.GetType().Name + " " + symbol.Name); _indent++; VisitChildren(new[] { symbol.GlobalNamespace }, argument); _indent--; return(_indent); }