repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-04-15 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
gcs0416-2.cs
blob
95a637ba3faecab5d0c23456f46e8836fbc48ae0
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
}