repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-05-29 Steven Munroe <munroesj@us.ibm.com>
[mcs.git]
/
errors
/
cs0592-5.cs
blob
f0f99103cf0bbda912c33ee7c2cfcf665901cb1a
1
// cs0592-5.cs: The attribute `TestAttribute' is not valid on this declaration type. It is valid on `constructor' declarations only
2
// Line: 6
3
4
using
System
;
5
6
[
TestAttribute
()]
7
enum
E
{
8
}
9
10
[
AttributeUsage
(
AttributeTargets
.
Constructor
)]
11
public class
TestAttribute
:
Attribute
{
12
}