Welcome to mirror list, hosted at ThFree Co, Russian Federation.

verify-7.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6ffad0f6040ba6b0267c35fa5febe96276c77258 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
using System;

public class TestClass : IDisposable
{
	public static void Main()
	{
		TestClass test = new TestClass();
		test.MyMethod();
	}

	public void Dispose()
	{
			
	}

	public void MyMethod()
	{
		byte[] buffer = new byte[1500];

		using(TestClass test = new TestClass())
		{
			while(true)
			{
			}
		}
	}
}