fasterflect
fasterflect copied to clipboard
MissingMember exception, on runtime.
I have a class, with a instance field of type IList<PropertyInfo>, I set that property from inside the constructor using the "public static IList<PropertyInfo> Properties(this Type type, params string[] names);" method from PropertyExtensions.cs in fasterflect. When I create some instances of my class, and put them into a List<T>, I then get a missing member exception from fasterflect when I call fasterflects deepclone extension method on the list. For some reason, if I populate a HashSet<T> with the same instances of my class, and deepclone the hashset I do not get the exception.