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
2008-09-29 Jb Evain <jbevain@novell.com>
[mcs.git]
/
tests
/
test-246.cs
blob
3afd2529cbfeccc57dd44582059c26a6a1c99955
1
using
System
;
2
3
struct
Blah
:
System
.
IDisposable
{
4
public void
Dispose
() {
5
Console
.
WriteLine
(
"foo"
);
6
}
7
}
8
9
class
B
{
10
static void
Main
() {
11
using
(
Blah b
=
new
Blah
()) {
12
Console
.
WriteLine
(
"..."
);
13
}
14
}
15
}