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
bring Mono Security to monotouch
[mcs.git]
/
tests
/
test-357.cs
blob
214a42566e614ca6610bb909d6996557b59c4ab8
1
namespace
SD
{
2
public class
Sd
{
3
static public void
F
(
bool
b
)
{ }
4
}
5
}
6
7
namespace
Foo
{
8
using
SD
;
9
partial class
Bar
{
10
delegate void
f_t
(
bool
b
);
11
f_t f
=
new
f_t
(
Sd
.
F
);
12
}
13
}
14
15
namespace
Foo
{
16
partial class
Bar
17
{
18
public
Bar
() {}
19
static void
Main
()
20
{
21
if
(
new
Bar
().
f
==
null
)
22
throw new
System
.
Exception
(
"Didn't resolve Sd.F?"
);
23
}
24
}
25
}