Export (0) Print
Expand All
Expand Minimize

Compiler Error CS0735 

Error Message

Invalid type specified as an argument for TypeForwardedTo attribute

The following sample generates CS0735.

// CS735.cs
// compile with: /target:library
using System.Runtime.CompilerServices;
[assembly:TypeForwardedTo(typeof(int[]))]   // CS0735
[assembly:TypeForwardedTo(typeof(string))]   // OK

Community Additions

ADD
Show:
© 2014 Microsoft