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
Fix indentation, spacing.
[mono-project.git]
/
mcs
/
errors
/
cs0592-7.cs
blob
eb174c59d788d38ebbb103fd1f259ece76944137
1
// CS0592: The attribute `EnumAttribute' is not valid on this declaration type. It is valid on `method' declarations only
2
// Line: 13
3
4
using
System
;
5
using
System
.
Reflection
;
6
7
[
AttributeUsage
(
AttributeTargets
.
Method
)]
8
public class
EnumAttribute
:
Attribute
{}
9
10
public enum
E
11
{
12
e_1
,
13
[
EnumAttribute
]
14
e_2
15
}