summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1674-4.cs
blob: 22d17bd06bdf3681fc71d51e98c0d5cae070bfaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS1674: `int': type used in a using statement must be implicitly convertible to `System.IDisposable'
// Line: 10

using System;

class C
{
	void Method (IDisposable i)
	{
		using (int o = 1, b = 2)
		{
		}
	}
}