mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-10-29 04:06:51 +00:00
null ref
This commit is contained in:
1 parent
450ed5f905
commit
0ef72bd96f
1 file changed
+2
-1
@@ -641,7 +641,8 @@ public class TypeTemplate
|
||||
|
||||
type = type.BaseType;
|
||||
|
||||
if (type == typeof(Resource)
|
||||
if (type == null
|
||||
|| type == typeof(Resource)
|
||||
|| type == typeof(Record)
|
||||
|| type == typeof(EntryPoint))
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user