title: while calling c++/cli code from c# code methods are not exposed
body: <p>We have updated the old managed extensions C++ project to c++/cli project </p>
  
  <p>While updatding compiler forced us to uupdate the syntax as following::</p>
  
  <p><strong>NEW SYNTAX</strong></p>
  
  <p><em>Declaration in .h file</em></p>
  
  <pre><code>            ref class CRsiComHandle{}
  
              ref class CRsiNetwork{
  
              void SetCom(CRsiComHandle% aComHandle);
              }
  </code></pre>
  
  <p><em>Definition in .Cpp File</em></p>
  
  <pre><code>            CRsiComHandle^ com;
  
              void CRsiNetwork::SetCom(CRsiComHandle% aComHandle)
              {
                              com = %aComHandle;
              }
  </code></pre>
  
  <p><strong>OLD SYNTAX</strong></p>
  
  <p><em>Declaration in .h file</em></p>
  
  <pre><code>            __gc class CRsiComHandle{}
  
              __gc class CRsiNetwork{
  
              void SetCom (CRsiComHandle&amp; aComHandle);
                 }
  </code></pre>
  
  <p><em>Definition in .cpp file</em> </p>
  
  <pre><code>            CRsiComHandle* com;
              void CRsiNetwork::SetCom (CRsiComHandle&amp; aComHandle)
              {
                              com = &amp;aComHandle;
              }
  </code></pre>
  
  <p><strong>Problem :</strong> 
   In C# code, our dll is not exposing the respective methods which having handlers. 
  How to resolve this issue ?</p>