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.
Original issue reported on code.google.com by daniel.crenna on 24 Oct 2012 at 8:06
Original issue reported on code.google.com by
daniel.crenna
on 24 Oct 2012 at 8:06