[fix] 修复计算泛型 多维数组桥接函数时抛出异常的bug

main
walon 2022-09-22 12:11:26 +08:00
parent 590505195e
commit a3f0befea4
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ namespace HybridCLR.Editor.Meta
typeDef = decalringType.ResolveTypeDef(); typeDef = decalringType.ResolveTypeDef();
if (typeDef == null) if (typeDef == null)
{ {
throw new Exception($"{decalringType}"); return null;
} }
GenericInstSig gis = decalringType.TryGetGenericInstSig(); GenericInstSig gis = decalringType.TryGetGenericInstSig();
if (gis != null) if (gis != null)