mirror of
https://github.com/codewriter-packages/Tri-Inspector.git
synced 2025-01-22 00:08:51 -05:00
Add structs to reference picker
This commit is contained in:
parent
51d7e7d474
commit
abcd8b1d18
@ -47,7 +47,7 @@ namespace TriInspector.Utilities
|
||||
.AllNonAbstractTypes
|
||||
.Where(type => !typeof(Object).IsAssignableFrom(type))
|
||||
.Where(type => _property.FieldType.IsAssignableFrom(type))
|
||||
.Where(type => type.GetConstructor(Type.EmptyTypes) != null)
|
||||
.Where(type => type.IsValueType || type.GetConstructor(Type.EmptyTypes) != null)
|
||||
.ToList();
|
||||
|
||||
var groupByNamespace = types.Count > 20;
|
||||
|
Loading…
Reference in New Issue
Block a user