repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git]
/
mcs
/
errors
/
cs0416-3.cs
blob
b6eed9bc98b2ee53ac349ca057f6ba66e98fb8a1
1
// CS0416: `C<T>.N': an attribute argument cannot use type parameters
2
// Line: 17
3
4
using
System
;
5
6
public class
TestAttribute
:
Attribute
7
{
8
public
TestAttribute
(
Type type
)
9
{
10
}
11
}
12
13
class
C
<
T
>
14
{
15
class
N
16
{
17
[
Test
(
typeof
(
N
))]
18
public static void
Foo
()
19
{
20
}
21
}
22
}