We were porting a .NET 4.0 class Library to .NET Core 1.1 and struck an issue of limited support for .NET Reflection in the .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.
Type.GetTypeInfofirst.