repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* MonthCalendar.cs:
[mono-project.git]
/
mcs
/
tests
/
test-242.cs
blob
989e6d99fce3f062ad54a9a60245c3d776f818e0
1
// This code must be compilable without any warning
2
// Compiler options: -warnaserror -warn:4
3
4
class
BaseClass
{
5
public int
Location
=
3
;
6
}
7
8
class
Derived
:
BaseClass
{
9
public new int
Location
{
10
get
{
11
return
9
;
12
}
13
}
14
15
public static void
Main
()
{ }
16
}