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
/
cs0592-7.cs
1
// cs0592-7.cs: 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
}