mirror of
https://github.com/art-ist/mustache-sharp.git
synced 2024-06-16 21:05:32 +00:00

I added code that will (correctly) chose the most derived property/field when a conflict exists between the parent and child. According to Microsoft, there is no guarantee of the order that members will be returned, so I had to determine the members distance from the object's type down the inheritance hierarchy and pick the closest.