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
[sdb] Avoid calling into the debuggee from VirtualMachine.GetObject () while holding...
[mono-project.git]
/
mcs
/
tests
/
gtest-211.cs
blob
3ab516ede8dc95020d6f1b3a7d85ba3fa54e0e98
1
class
MyTest
{
2
static void
f
(
bool
a
,
bool
b
)
3
{
4
if
(
a
!=
b
)
5
throw new
System
.
Exception
(
"Something wrong: "
+
a
+
" vs. "
+
b
);
6
}
7
public static void
Main
()
8
{
9
int
?
w
=
null
;
10
int
?
x
=
null
;
11
int
?
y
=
0
;
12
int
?
z
=
1
;
13
14
f
(
false
,
x
==
0
);
15
f
(
true
,
x
!=
0
);
16
f
(
false
,
x
==
y
);
17
f
(
true
,
x
!=
y
);
18
f
(
true
,
x
==
w
);
19
f
(
false
,
x
!=
w
);
20
f
(
true
,
x
==
null
);
21
f
(
false
,
x
!=
null
);
22
23
f
(
true
,
0
==
y
);
24
f
(
false
,
0
!=
y
);
25
f
(
false
,
z
==
y
);
26
f
(
true
,
z
!=
y
);
27
f
(
false
,
null
==
y
);
28
f
(
true
,
null
!=
y
);
29
}
30
}