title: wcf reference not being generated correctly
body: <p>Ran across a weird problem with my WCF references this morning. In a nutshell, I have a duplex service set up so that a server can notify a client by sending objects in a data contract. When a client connects, it runs a function on the server to return a <code>List(Of NewItem)</code> based on what's in the shared queue of the service class. The trouble is, when I update my service reference in the client, it says the function returns a <code>NewItem</code> object, not a <code>List(Of NewItem)</code> object. I can go into the reference and manually change it to a <code>List</code> object and it'll transfer just fine. Any ideas why the service reference generator would arbitrarily change my return type?</p>
  
  <p>Here's the relevant code:</p>
  
  <pre><code>&lt;ServiceContract(
      CallbackContract:=GetType(INotifyCallback),
      SessionMode:=ServiceModel.SessionMode.Required)&gt;
  Public Interface INotifyService
      &lt;OperationContract()&gt;
      Function GetNewServerItems() As List(Of NewItem)
  End Interface
  
  &lt;DataContract&gt;
  &lt;Serializable&gt;
  Public Class NewItem
      &lt;DataMember()&gt;
      Public Property ItemNum As String
  
      &lt;DataMember()&gt;
      Public Property Timestamp As DateTime
  End Class
  
  &lt;ServiceBehavior(
      ConcurrencyMode:=ServiceModel.ConcurrencyMode.Single,
      InstanceContextMode:=ServiceModel.InstanceContextMode.Single)&gt;
  Public Class NotifyService
      Implements INotifyService
  
      Shared _server_items As New List(Of NewItem)
  
      Public Function GetNewServerItems() As List(Of NewItem)
          Return _server_items
      End Function
  End Class
  </code></pre>
  
  <p>And in Reference.vb (simplified):</p>
  
  <pre><code>&lt;System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/INotifyService/GetNewServerItems", ReplyAction:="http://tempuri.org/INotifyService/GetNewServerItemsResponse")&gt;  _
  Function GetNewServerItems() As NotifyGateway.NewItem()
  </code></pre>