projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2005-02-08 Atsushi Enomoto <atsushi@ximian.com>
[mono.git]
/
mcs
/
tests
/
verify-7.cs
1
using System;
2
3
public class TestClass : IDisposable
4
{
5
public static void Main()
6
{
7
TestClass test = new TestClass();
8
test.MyMethod();
9
}
10
11
public void Dispose()
12
{
13
14
}
15
16
public void MyMethod()
17
{
18
byte[] buffer = new byte[1500];
19
20
using(TestClass test = new TestClass())
21
{
22
while(true)
23
{
24
}
25
}
26
}
27
}