title: User-defined conversion must convert to or from the enclosing type in asp core 2.2
body: <p>i create this class and it have this constructor :</p>
  
  <pre><code> public class ReturnResult : ImplicitReturnResult
  {
      public bool Success { get; }
      public ResultStatus Status { get; }
      public string Message { get; }
  
      public ReturnResult(bool Success, ResultStatus Status, string Message = null)
      {
          this.Success = Success;
          this.Status = Status;
          this.Message = Message ?? Status.ToDisplay();
      }
  
  
  }
  </code></pre>
  
  <p>and in this class i need to use constructor this class :</p>
  
  <pre><code> public class ImplicitReturnResult
  {
      public static implicit operator ReturnResult(OkResult result)
      {
          return new ReturnResult(true, ResultStatus.Success);
      }
  }
  </code></pre>
  
  <p>i using this code but it show me this error :</p>
  
  <blockquote>
    <p>Error  CS0556  User-defined conversion must convert to or from the enclosing </p>
  </blockquote>
  
  <p>whats the problem ? how can i solve this problem ????</p>