projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2002-06-08 Ravi Pratap <ravi@ximian.com>
[mono.git]
/
mcs
/
tests
/
test-128.cs
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
int i;
16
17
public int Value {
18
19
[Simple ("Foo!")]
20
get {
21
return i;
22
}
23
24
[Simple ("Bar !")]
25
set {
26
i = value;
27
}
28
29
}
30
31
public static int Main ()
32
{
33
//
34
// We need a better test which does reflection to check if the
35
// attributes have actually been applied etc.
36
//
37
38
return 0;
39
}
40
41
}