Open badandbest opened 1 month ago
This might be intended behaviour. :(
Is this intended behaviour? You can get it by doing the following code:
var MyStaticProperty = type.Properties.First(x => x.IsStatic && x.IsName("MyStaticProperty")).GetValue(null);
That !x.IsStatic
restriction seems arbitrary
You know what you are right. I'm reopening this.
Describe the bug
TypeLibrary can't get static properties
To Reproduce
Expected behavior
TypeLibrary should get the static property.
Media/Files
No response
Additional context
Same thing with EditorTypeLibrary