title: Map fields with same name to different fileds in automapper
body: <p>I have a model which I am trying to map from Match class in .net core 2.0.
  Both the classes have a Name property.</p>
  
  <p>I need to map <strong>Match.Value => ViewCompany.Name</strong></p>
  
  <p>But it always puts <strong>Match.Name into ViewCompany.Name</strong> </p>
  
  <p>Here is my <strong>AutomapperProfile</strong>:</p>
  
  <pre><code>CreateMap&lt;Match, ViewCompany&gt;()
                  .ForMember(dest =&gt; dest.Name, opt =&gt; opt.MapFrom(src =&gt; src.Value));
  </code></pre>
  
  <p>.ForMember(dest => <strong>dest.Name</strong>, opt => opt.MapFrom(src => <strong>src.Value</strong>))</p>
  
  <p><strong>ViewCompany</strong>:</p>
  
  <pre><code>public class ViewCompany
  {
      public ViewCompany()
      {
  
      }
  
      public ViewCompany(string name)
      {
          this.Name = name;
      }
  
      public int Id { get; set; }
  
      public string Name { get; set; }
  }
  </code></pre>
  
  <p>The above mapping doesn't work.</p>
  
  <p>But if I change property name in the model to something else like "Value" or "tempName" and update the automapper profile, it works fine. </p>
  
  <p>So, is it not possible to map properties with same names to different properties in Automapper?</p>