// CS0416: `N.C': 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 { [Test(Type=typeof(C))] public void Foo() { } } }