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-10-22 Marek Safar <marek.safar@gmail.com>
[mcs.git]
/
errors
/
cs0592-6.cs
blob
851d2f1010ee58a761b15f47cf2444c1983a08fd
1
// cs0592-6.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
delegate void
D
();
8
9
[
AttributeUsage
(
AttributeTargets
.
Constructor
)]
10
public class
TestAttribute
:
Attribute
{
11
}