From a3f0befea475426732272347206257b936b29852 Mon Sep 17 00:00:00 2001 From: walon Date: Thu, 22 Sep 2022 12:11:26 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20=E4=BF=AE=E5=A4=8D=E8=AE=A1=E7=AE=97?= =?UTF-8?q?=E6=B3=9B=E5=9E=8B=20=E5=A4=9A=E7=BB=B4=E6=95=B0=E7=BB=84?= =?UTF-8?q?=E6=A1=A5=E6=8E=A5=E5=87=BD=E6=95=B0=E6=97=B6=E6=8A=9B=E5=87=BA?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Editor/Meta/GenericMethod.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Editor/Meta/GenericMethod.cs b/Editor/Meta/GenericMethod.cs index 113bce9..cdbcfdc 100644 --- a/Editor/Meta/GenericMethod.cs +++ b/Editor/Meta/GenericMethod.cs @@ -69,7 +69,7 @@ namespace HybridCLR.Editor.Meta typeDef = decalringType.ResolveTypeDef(); if (typeDef == null) { - throw new Exception($"{decalringType}"); + return null; } GenericInstSig gis = decalringType.TryGetGenericInstSig(); if (gis != null)