
fast-member - issue #8
Provide results of reflection PropertyInfo / FieldInfo in TypeAccessor
It would be nice to be able to pull out the PropertyInfo / FieldInfo array results created when the accessor is created. In my use case, I need to build TypeAccessors off of anonymous types that "look" like the real typed counterpart. In these cases I only want to know what properties in the anonymous type match the static type (to avoid crashing on a bad get). I've patched my version to provide these results so I don't have to take another reflection hit outside of the library to do the same thing, but it might be worth adding for everyone. Not worth a patch, it's just trivially exposing "props" and "fields" as instance properties.
Comment #1
Posted on Jan 13, 2015 by Massive RhinoThis is resolved by MemberSet.
Status: New
Labels:
Type-Defect
Priority-Medium