Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

32 lines
432 B
C#

// CS0416: `N.C<T>': an attribute argument cannot use type parameters
// Line: 15
using System;
public class TestAttribute : Attribute
{
object type;
public object Type
{
get
{
return type;
}
set
{
type = value;
}
}
}
namespace N
{
class C<T>
{
[Test(Type=typeof(C<T>))]
public void Foo()
{
}
}
}