Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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