title: C#: Method not found exception (Setter missing)
body: <p>I'm facing really strange error while debugging my program. I have a data contract where I added new properties but one of them cause the following exception:</p>
  
  <p><code>Method not found: 'Void Measurement.set_ContactId(Int32)'.</code></p>
  
  <p>The data contract looks following:</p>
  
  <pre><code>[DataContract]
  public class Measurement
  {
      [DataMember]
      public int FactId { get; set; }
  
      [DataMember]
      public int ContactId { get; set; }
  .....
  </code></pre>
  
  <p>I don't really understand what can be a problem since, as I said, I added some other properties but there was no problem with them.</p>
  
  <p>UPD: The exception is happening on the service side when I try to assign a value to <code>ContactId</code>:</p>
  
  <pre><code>foreach (Measurement m in result.Where(m =&gt; m.FactId == factId)){
      m.ContactId = contactId;
    .....
  </code></pre>