We were porting a .Net 4.0 class Library to .Net Core 1.1 and struck with an issue of very limit support for .Net Reflection in .Net Core CLR.
Can anyone help us with any details related to the .net core equivalent for calling Type.GetProperties and Type.GetCustomAttributes methods on an assembly object.
Using System.Type; Type myType; var prop = myType.GetProperties(); var attrib = myType.GetCustomAttributes(true);
We can see there is CustomAttributes property, but this doesn’t return instances of the custom attributes, but rather metadata about the attributes.
Any help is highly appreciated.