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
Fix LLVM linker flags for 6.0.
[mono-project.git]
/
mcs
/
tests
/
test-21.cs
blob
cd125497bbbc9696779eb076b97397bea096a5be
1
using
System
;
2
3
public class
Blah
{
4
5
public class
Foo
{
6
7
public
Foo
()
8
{
9
Console
.
WriteLine
(
"Inside the Foo constructor now"
);
10
}
11
12
public int
Bar
(
int
i
,
int
j
)
13
{
14
Console
.
WriteLine
(
"The Bar method"
);
15
return
i
+
j
;
16
}
17
18
19
}
20
21
public static int
Main
()
22
{
23
Foo f
=
new
Foo
();
24
25
int
j
=
f
.
Bar
(
2
,
3
);
26
Console
.
WriteLine
(
"Blah.Foo.Bar returned "
+
j
);
27
28
if
(
j
==
5
)
29
return
0
;
30
else
31
return
1
;
32
33
}
34
35
}