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
cosmetic
[mcs.git]
/
tests
/
gtest-anontype-10.cs
blob
a2dca939c237fabb904bf18e56b2b7cbd0d384d5
1
class
A
2
{
3
public int
X
{
4
get
{
5
return
100
;
6
}
7
}
8
}
9
10
class
B
:
A
11
{
12
public static int
Main
()
13
{
14
return new
B
().
Test
();
15
}
16
17
int
Test
()
18
{
19
var
x
=
new
{ base.X }
;
20
return
x
.
X
==
100
?
0
:
1
;
21
}
22
}