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-03-04 Astushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
cs1016.cs
blob
890c5cda0dbb72e2b5915d5f8aed590032ecd59f
1
// cs1016.cs: Named attribute argument expected
2
// Line: 19
3
4
using
System
;
5
using
System
.
Runtime
.
CompilerServices
;
6
7
class
Attr
:
Attribute
8
{
9
public
Attr
(
int
i
) {}
10
11
public string
Arg
{
12
set
{}
13
get
{ return "a"; }
14
}
15
}
16
17
public class
E
18
{
19
[
Attr
(
Arg
=
"xxx"
,
3
)]
20
public void
Method
() {}
21
}