If you create method with same name as some Base Static Class, and you call base static class from within same class where you have this method.
JustDecompiler fails to properly decompile.
original code:
class MethodAsBaseClassName
{
public bool Convert(object a)
{
return (bool)System.Convert.ToBoolean((string)a);
}
}
decompiled code:
internal class MethodAsBaseClassName
{
public MethodAsBaseClassName()
{
}
public bool Convert(object a)
{
return Convert.ToBoolean((string)a);
}
}
missing namespace classifier, and compiler can't compile code.
Compiler thinks he should call method MethodAsBaseClassName.Convert instead of System.Convert static class.