title: Two parameters causes 'Method in Type does not have an implementation' Exception?
body: <p>I have an solution with a number of projects.
  Relevant for the question is an API class library, a CustomTriggers class library and a web site.
  Both CustomTriggers and web site references API.
  CustomTriggers implements Interface ITrigger located in API.</p>
  
  <p>The problem is that if I in the 'Run' method of the interface ITrigger defines one parameter things work ok, but if I define two parameters a "Method 'Run' in Type 'CustomTriggers.*' from assembly * does not have an implementation' exception is thrown.
  And I don't understand why.</p>
  
  <p>The interface:</p>
  
  <pre><code>namespace projectbase{
  public interface ITrigger {
      string EntityTypeName { get; set; }
      int EntityID { get; set; }
      API.API.TriggerEventType TriggerEventType { get; set; }
      void Run(KeyValuePair&lt;string, object&gt;[] parameters);
  }  }
  </code></pre>
  
  <p>The class in 'CustomTriggers' project that implements ITrigger:</p>
  
  <pre><code>public class SomeTrigger : projectbase.ITrigger {
      public string EntityTypeName { get; set; }
      public int EntityID { get; set; }
      public API.API.TriggerEventType TriggerEventType { get; set; }
      public void Run(KeyValuePair&lt;string, object&gt;[] parameters) {
      }
  }
  </code></pre>
  
  <p>The method [stub] that [doesn't] throw exception:</p>
  
  <pre><code>string file = @"dir\CustomTriggers.dll";
  string assemblyname = AssemblyName.GetAssemblyName(file).ToString();
  Assembly ass = Assembly.Load(assemblyname);
  Type assType = null; // funny! :-)
  
  if (ass != null)
      assType = ass.GetType("CustomTriggers.SomeTrigger", false); //throws exception here :-(
  if (assType != null) {
      foreach (Type t in assType.GetInterfaces()) {
          if (t.Name == "ITrigger") {
              blnValidTypeFound = true;
              break;
          }
      }
  } // if
  </code></pre>
  
  <p>So...this code complies and runs just fine. No worries in sight.</p>
  
  <p>But when I add another parameter to the 'Run' method of both 'ITrigger' and 'SomeTrigger'</p>
  
  <pre><code>void Run(KeyValuePair&lt;string, object&gt;[] parameters, string OtherParameter);
  
  public void Run(KeyValuePair&lt;string, object&gt;[] parameters, string OtherParameter) {}
  </code></pre>
  
  <p>it throws an exception in the line indicated by a comment:</p>
  
  <pre><code>Method 'Run' in type 'CustomTriggers.SomeTrigger' from assembly 'CustomTriggers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
  </code></pre>
  
  <p>I'm all out of ideas. Little help?</p>