From d138107ca421e91453c1da0710317092cebefb47 Mon Sep 17 00:00:00 2001 From: uurha Date: Sun, 3 Mar 2024 01:52:14 +0000 Subject: [PATCH] Merge pull request #64 dev --- Runtime/Extensions/TypeExtensions.cs | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Runtime/Extensions/TypeExtensions.cs b/Runtime/Extensions/TypeExtensions.cs index 277da06..0b65479 100644 --- a/Runtime/Extensions/TypeExtensions.cs +++ b/Runtime/Extensions/TypeExtensions.cs @@ -41,7 +41,7 @@ public static bool IsEnumerable(this Type self) } var enumerableType = typeof(IEnumerable<>); - return self.IsGeneric(enumerableType); + return self.IsSubclassOfRawGeneric(enumerableType); } public static bool IsGeneric(this Type self, Type type) diff --git a/package.json b/package.json index d17c143..78a65dc 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "com.uurha.betterextensions", "displayName": "Better Extensions", - "version": "1.5.8", + "version": "1.5.9", "unity": "2021.3", "description": "Unity extensions, serialize extension, async extension, string extension and UI extensions", "dependencies": {