From 9927a0e305b9c3e1d998a3913426a026139d8225 Mon Sep 17 00:00:00 2001 From: samuraiGH <87191377+samuraiGH@users.noreply.github.com> Date: Mon, 30 Jun 2025 19:19:24 +0300 Subject: [PATCH] fix type name comparsion (#3309) --- NETGenerator/NETGenerator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NETGenerator/NETGenerator.cs b/NETGenerator/NETGenerator.cs index 21e74d1b9..f8b0cc3d7 100644 --- a/NETGenerator/NETGenerator.cs +++ b/NETGenerator/NETGenerator.cs @@ -1950,7 +1950,7 @@ namespace PascalABCCompiler.NETGenerator mi = TypeBuilder.GetMethod(t, mi); } - else if (t.Name != "TypeBuilderInstantiation") + else if (t.GetType().Name != "TypeBuilderInstantiation") { try {