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-07-16 Jb Evain <jbevain@novell.com>
[mcs.git]
/
tests
/
test-131.cs
blob
568576c96fa45231c8a636bd7eb088202e9882d9
1
using
System
;
2
3
public class
SimpleAttribute
:
Attribute
{
4
5
string
n
;
6
7
public
SimpleAttribute
(
string
name
)
8
{
9
n
=
name
;
10
}
11
}
12
13
public class
Blah
{
14
15
public enum
Foo
{
16
17
A
,
18
19
[
Simple
(
"second"
)]
20
B
,
21
22
C
23
}
24
25
public static int
Main
()
26
{
27
//
28
// We need a better test which does reflection to check if the
29
// attributes have actually been applied etc.
30
//
31
32
return
0
;
33
}
34
35
}