Fix type selector in reference gui

This commit is contained in:
VladV 2022-05-17 12:54:39 +03:00
parent e3a127c335
commit 90b9ce05a3

View File

@ -45,7 +45,6 @@ namespace TriInspector.Utilities
{
var types = TriReflectionUtilities
.AllNonAbstractTypes
.Where(type => type.IsPublic)
.Where(type => !typeof(Object).IsAssignableFrom(type))
.Where(type => _property.FieldType.IsAssignableFrom(type))
.Where(type => type.GetConstructor(Type.EmptyTypes) != null)