text: ---
  description: "Compiler Error CS0739"
  title: "Compiler Error CS0739"
  ms.date: 07/20/2015
  f1_keywords: 
    - "CS0739"
  helpviewer_keywords: 
    - "CS0739"
  ms.assetid: c2a83015-401c-4d85-bb19-ed29800904c1
  ---
  # Compiler Error CS0739
  
  'type name' duplicate TypeForwardedToAttribute.  
    
   An assembly can have no more than one <xref:System.Runtime.CompilerServices.TypeForwardedToAttribute> to an external type.  
    
  ## To correct this error  
    
  1. Locate and remove the duplicate <xref:System.Runtime.CompilerServices.TypeForwardedToAttribute>.  
    
  ## Example  
  
   The following code generates CS0739:  
    
  ```csharp  
  // CS0739.cs  
  // CS0739  
  // Assume that a class Test is declared in a separate dll  
  // with a namespace that is named cs739dll.  
  [assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(cs739dll.Test))]  
  [assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(cs739dll.Test))]  
  namespace cs0739  
  {  
      class Program  
      {  
          static void Main(string[] args)  
          {  
          }  
      }  
  }  
  ```  
    
  ## See also
  
  - <xref:System.Runtime.CompilerServices.TypeForwardedToAttribute>
  