Fix FxCop warning CA1018 (attributes should have AttributeUsage)
[mono-project.git] / mcs / errors / cs1674-4.cs
blob22d17bd06bdf3681fc71d51e98c0d5cae070bfaf
1 // CS1674: `int': type used in a using statement must be implicitly convertible to `System.IDisposable'
2 // Line: 10
4 using System;
6 class C
8 void Method (IDisposable i)
10 using (int o = 1, b = 2)