This is a sort of follow up to NH-3952: remove usage of EnumerableHelper. They were replaced by ReflectionHelper, and additionally cached whenever possible and useful.
This improvement aims at similarly caching other MethodInfo/PropertyInfo reflected through older ReflectionHelper usages (impact Linq namespace), or any other means (most other NHibernate namespaces). If adequate, those other means of reflecting should be replaced by ReflectionHelper.
Of course, some of them do not need to be cached because their code is supposed to be called only once in the application lifetime (such as reflection done in Linq registry). Their code should be left untouched.
This is a sort of follow up to NH-3952: remove usage of
EnumerableHelper
.They were replaced by
ReflectionHelper
, and additionally cached whenever possible and useful.This improvement aims at similarly caching other
MethodInfo
/PropertyInfo
reflected through olderReflectionHelper
usages (impactLinq
namespace), or any other means (most other NHibernate namespaces).If adequate, those other means of reflecting should be replaced by
ReflectionHelper
.Of course, some of them do not need to be cached because their code is supposed to be called only once in the application lifetime (such as reflection done in Linq registry). Their code should be left untouched.