private void Visit(INamespaceOrTypeSymbol type) { foreach (var method in type.GetMembers().OfType<IMethodSymbol>()) { Visit(method); } }