In what methods does AutoMapper use reflection?
automapper, reflection
Solution
Neither, to be honest. When you call CreateMap, AutoMapper uses optimizers to build the code for getting/setting values on source/destination types. Currently, it uses a combination of Reflection.Emit and expression tree compilation. At Map time, it uses the optimized callbacks for interacting with types.
Problem
I wonder if AutoMapper uses reflection in its `Mapper.Map<>()` method, or if the use of reflection is limited to the `Mapper.CreateMap<>()` method?