projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git]
/
mcs
/
errors
/
cs0592-7.cs
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
}