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
[eglib] In AIX/generic POSIX, handle null addresses better (#17892)
[mono-project.git]
/
mcs
/
tests
/
gtest-autoproperty-18.cs
blob
d1e47f7725fba5ebd44300fb57e855652082bfcb
1
using
System
;
2
3
public class
A
4
{
5
public int
Type { get; }
6
7
public
A
()
8
{
9
Type
=
2
;
10
}
11
}
12
13
public class
B
14
{
15
static int
Type { get; }
16
17
static
B
()
18
{
19
Type
=
1
;
20
}
21
22
static int
Main
()
23
{
24
if
(
Type
!=
1
)
25
return
1
;
26
27
var
a
=
new
A
();
28
if
(
a
.
Type
!=
2
)
29
return
2
;
30
31
return
0
;
32
}
33
}