private static ICollection <Type> GetDerivedSourceTypesIfNecessary(IMemberMapperData mapperData) { return(mapperData.RuleSet.Settings.CheckDerivedSourceTypes ? mapperData.GetDerivedSourceTypes() : EmptyTypeArray); }