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
[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git]
/
mcs
/
errors
/
cs0181-3.cs
blob
6e2f5b6ff00dd33ec67b8ca467b08a2352bc925b
1
// CS0181: Attribute constructor parameter has type `System.Enum', which is not a valid attribute parameter type
2
// Line: 18
3
4
using
System
;
5
6
enum
E
7
{
8
Value
9
}
10
11
class
AAttribute
:
Attribute
12
{
13
public
AAttribute
(
Enum e
)
14
{
15
}
16
}
17
18
[
A
(
E
.
Value
)]
19
class
Test
20
{
21
}