projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #4381 from BrzVlad/feature-generational-hash
[mono.git]
/
mcs
/
tests
/
test-787.cs
1
using System;
2
3
public class A : Attribute
4
{
5
public virtual string Prop {
6
set {}
7
get { return null; }
8
}
9
10
public int Field ()
11
{
12
return 0;
13
}
14
}
15
16
public class B : A
17
{
18
public override string Prop {
19
set {}
20
get { return "b"; }
21
}
22
23
public new int Field;
24
}
25
26
[B (Prop = "a", Field = 3)]
27
public class Test
28
{
29
public static void Main ()
30
{
31
}
32
}