Merge pull request #1525 from akoeplinger/fix-dynamicdata-test
[mono-project.git] / mcs / errors / cs0728-2.cs
blob2f361a5f6f4d823dde286cd40453a7ec111d4f1d
1 // CS0728: Possibly incorrect assignment to `d' which is the argument to a using or lock statement
2 // Line: 12
3 // Compiler options: -warnaserror
5 using System;
7 public class Foo
9 public static void Test (IDisposable d)
11 using (d) {
12 d = null;