TaskAwaiter from CoreFX
[mono-project.git] / mcs / errors / cs0728-3.cs
blob640f8da4c364619ea675f0ce0f74df5b75b1151a
1 // CS0728: Possibly incorrect assignment to `s' which is the argument to a using or lock statement
2 // Line: 12
3 // Compiler options: -warnaserror
5 public class Foo
7 public static void Test (ref string s)
9 lock (s) {
10 lock (s) {}
11 s = null;