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
Display error messages instead of stack traces.
[mcs.git]
/
errors
/
cs0657-12.cs
blob
adbb0873e1583c08c8c5a8088b6d185606300e87
1
// cs0657-12.cs: `type' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `method, param, return'
2
// Line: 14
3
4
using
System
;
5
6
[
AttributeUsage
(
AttributeTargets
.
All
)]
7
public class
TestAttribute
:
Attribute
8
{
9
}
10
11
class
C
12
{
13
int
Prop
{
14
[
type
:
Test
]
15
set
{
16
}
17
}
18
}