private void CheckElementMaps(ICollection<TypeMap> typeMapsChecked, ResolutionContext context)
{
Type sourceElementType = TypeHelper.GetElementType(context.SourceType);
Type destElementType = TypeHelper.GetElementType(context.DestinationType);
TypeMap itemTypeMap = _config.ResolveTypeMap(sourceElementType, destElementType);
if (typeMapsChecked.Any(typeMap => Equals(typeMap, itemTypeMap)))
return;
var memberContext = new ResolutionContext(null, null, new TypePair(sourceElementType, destElementType), context) {TypeMap = itemTypeMap};
DryRunTypeMap(typeMapsChecked, memberContext);
}