mirror of
https://github.com/avast/retdec.git
synced 2024-11-23 13:00:13 +00:00
Ignore self-references when reconstructing full names of nested classes
This commit is contained in:
parent
f7e82bb6b2
commit
2bddda90ef
@ -666,6 +666,10 @@ bool DotnetTypeReconstructor::reconstructNestedClasses()
|
||||
if (enclosingItr == defClassTable.end())
|
||||
continue;
|
||||
|
||||
// Ignore self-references
|
||||
if (nestedItr == enclosingItr)
|
||||
continue;
|
||||
|
||||
const std::string& namespac = nestedItr->second->getNameSpace();
|
||||
if (namespac.empty())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user