There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Incorrect behaviour of the method AutoMapper.Configuration.FindTypeMap(object, Type, Type) when sourceType implements more than one interface
typeMap local variable is always overwritten.
For example, typeMap which is not null, was found on the first iteration of the foreach loop. Then on the second iteration after execution of the following line
typeMap = ((IConfigurationProvider)this).FindTypeMapFor(source, sourceInterface, destinationType);
typeMap becomes null. So even if one typeMap was found which is not null, the method will return null if subsequent calls to FindTypeMapFor return null.