codeowners update
[mono.git] / mcs / errors / cs0728-2.cs
1 // CS0728: Possibly incorrect assignment to `d' which is the argument to a using or lock statement
2 // Line: 12
3 // Compiler options: -warnaserror
4
5 using System;
6
7 public class Foo
8 {
9         public static void Test (IDisposable d)
10         {
11                 using (d) {
12                         d = null;
13                 }
14         }
15 }