SONARDOTNT-382 Improve the support of nested namespaces and classes