title: VS error in design time - Object of type 'ICustomType[]' cannot be converted to type 'ICustomType[]'
body: <p>I created a derived control from <code>PropertyGrid</code> and the following property causes troubles with the Visual Studio in Design time.</p>
  
  <p>Note: There isn't any problem in runtime. It's only about designer and the problem get fixed if I remove manually the encoded value from the form's resource file.</p>
  
  <p>The constructor:</p>
  
  <pre><code>/// &lt;summary&gt;
  /// Public constructor.
  /// &lt;/summary&gt;
  public FilterablePropertyGrid()
  {
      base.SelectedObjects = wrapper.ToArray();
  }
  </code></pre>
  
  <p>The property code:</p>
  
  <pre><code>private List&lt;ObjectWrapper&gt; wrapper = new List&lt;ObjectWrapper&gt;();
  
  /// &lt;summary&gt;
  /// Overwride the PropertyGrid.SelectedObject property.
  /// The object passed to the base PropertyGrid is the wrapper.
  /// &lt;/summary&gt;
  public new List&lt;ICustomType&gt; SelectedObjects
  {
      get
      {
          return wrapper.Any() ?
              base.SelectedObjects.Select(p =&gt; ((ObjectWrapper)p).SelectedObject).ToList() :
              new List&lt;ICustomType&gt;();
      }
      set
      {
          if (value == null || value.Count == 0)
          {
              wrapper = new List&lt;ObjectWrapper&gt;();
              base.SelectedObjects = new object[] { };
          }
          else
          {
              wrapper = new List&lt;ObjectWrapper&gt;(value.Select(p =&gt; new ObjectWrapper(p)));
              // Link the wrapper to the parent PropertyGrid.
              base.SelectedObjects = wrapper.ToArray();
          }
      }
  }
  </code></pre>
  
  <p>The error:
  <img src="https://i.stack.imgur.com/O9LoP.png" alt="enter image description here"></p>
  
  <p>I wonder if you could help me whats the problem is.</p>