projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2007-10-17 Geoff Norton <gnorton@novell.com>
[mono.git]
/
mcs
/
errors
/
gcs0416-2.cs
1
// CS0416: `N.C<T>': an attribute argument cannot use type parameters
2
// Line: 15
3
4
using System;
5
6
public class TestAttribute : Attribute
7
{
8
object type;
9
10
public object Type
11
{
12
get
13
{
14
return type;
15
}
16
set
17
{
18
type = value;
19
}
20
}
21
}
22
23
namespace N
24
{
25
class C<T>
26
{
27
[Test(Type=typeof(C<T>))]
28
public void Foo()
29
{
30
}
31
}
32
}