title: explicit conversion operator error when converting generic lists
body: <p>I am creating an explicit conversion operator to convert between a generic list of entity types to a generic list of model types.  Does anyone know why I get the following error:</p>
  
  <blockquote>
    <p>User-defined conversion must convert to or from the enclosing type</p>
  </blockquote>
  
  <p>I already have an explicit conversion operator between Entity.objA and Model.objA which works fine.  The problem arises when trying to convert the generic list.  Is this even possible?</p>
  
  <p>Here is my code:</p>
  
  <pre><code>    public static explicit operator List&lt;Model.objA&gt;(List&lt;Entity.objA&gt; entities)
      {
          List&lt;Model.objA&gt; objs= new List&lt;Model.objA&gt;();
          foreach (Entity.objA entity in entities)
          {
              objs.Add((Model.objA)entity);
          }
          return claims;
      }
  </code></pre>
  
  <p>Thanks for any help.</p>