I started to avoid reflection probably 10 years ago.<p>I'm not a big fan of many of the C# code generators either. A bug I have seen many times is that a generated client deserializes some fields that are not used by the consumer and therefor not tested. Skip forward 6 months and the thing burns up in production once some unexpected values shows up.