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
Remove debugging code from generated code
[mono-project.git]
/
mcs
/
errors
/
bug10.cs
blob
5b2ff627ffa50b37e86e9b5959d90c27f8193189
1
//
2
// fixed
3
//
4
using
System
;
5
6
public class
Blah
{
7
8
public void
Connect
()
9
{
10
}
11
12
public void
Button1_Click
(
int
i
,
int
j
)
13
{
14
Console
.
WriteLine
(
"Button1 was clicked !"
);
15
Console
.
WriteLine
(
"Answer : "
+ (
i
+
j
));
16
}
17
18
public static int
Main
()
19
{
20
Blah b
=
new
Blah
();
21
22
b
.
Connect
();
23
24
b
.
OnClick
();
25
26
Console
.
WriteLine
(
"Test passes"
);
27
return
0
;
28
}
29
30
}