aardvark-platform/aardvark.base

Introspection GetAll is not robust to broken assemblies

haraldsteinlechner opened this issue · 2 comments

In constrast to retrieving attributes from types, retrieving attributes from methods can fail, which aborts aardvark.init() -- see

private static T[] TryGetCustomAttributes<T>(Type t)

2022-12-10 12_22_40-Aardium (Debugging) - Microsoft Visual Studio

i just tried to fix this one. beside of that, there is a lot of old code around which could be improved towards better robustness when broken assemblies arrive.
Also I think the LINQ SQL syntax should be replaced by a more modern style.