summaryrefslogtreecommitdiff
path: root/Assets/ThirdParty/LitJson/Netstandard15Polyfill.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2022-03-10 14:07:40 +0800
committerchai <chaifix@163.com>2022-03-10 14:07:40 +0800
commit22891bf59032ba88262824255a706d652031384b (patch)
tree7595439ba9966c9402d37e37cee5e8cf098757d5 /Assets/ThirdParty/LitJson/Netstandard15Polyfill.cs
parent8b04ea73e540067f83870b61d89db4868fea5e8a (diff)
* move folder
Diffstat (limited to 'Assets/ThirdParty/LitJson/Netstandard15Polyfill.cs')
-rw-r--r--Assets/ThirdParty/LitJson/Netstandard15Polyfill.cs24
1 files changed, 0 insertions, 24 deletions
diff --git a/Assets/ThirdParty/LitJson/Netstandard15Polyfill.cs b/Assets/ThirdParty/LitJson/Netstandard15Polyfill.cs
deleted file mode 100644
index 55b02a21..00000000
--- a/Assets/ThirdParty/LitJson/Netstandard15Polyfill.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-#if NETSTANDARD1_5
-using System;
-using System.Reflection;
-namespace LitJson
-{
- internal static class Netstandard15Polyfill
- {
- internal static Type GetInterface(this Type type, string name)
- {
- return type.GetTypeInfo().GetInterface(name);
- }
-
- internal static bool IsClass(this Type type)
- {
- return type.GetTypeInfo().IsClass;
- }
-
- internal static bool IsEnum(this Type type)
- {
- return type.GetTypeInfo().IsEnum;
- }
- }
-}
-#endif \ No newline at end of file