fix type name comparsion (#3309)
This commit is contained in:
parent
7614931f06
commit
9927a0e305
|
|
@ -1950,7 +1950,7 @@ namespace PascalABCCompiler.NETGenerator
|
|||
|
||||
mi = TypeBuilder.GetMethod(t, mi);
|
||||
}
|
||||
else if (t.Name != "TypeBuilderInstantiation")
|
||||
else if (t.GetType().Name != "TypeBuilderInstantiation")
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue