mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-06-27 13:33:13 +00:00
fix
This commit is contained in:
@ -28,6 +28,9 @@ public static class ResourceProxy
|
||||
|
||||
public static Type GetBaseType(Type type)
|
||||
{
|
||||
if (type == null)
|
||||
throw new NullReferenceException("Type can't be null.");
|
||||
|
||||
if (type.Assembly.IsDynamic)
|
||||
return type.GetTypeInfo().BaseType;
|
||||
else
|
||||
|
Reference in New Issue
Block a user