[wasm] Fix WASM CI script. (#6741)
[mono-project.git] / mcs / errors / cs1654-3.cs
blobc49e6875dd7ecc0d5db1fe15965ecdf19f2ae1d3
1 // CS1654: Cannot assign to members of `f' because it is a `using variable'
2 // Line: 22
4 using System;
6 struct Foo : IDisposable
8 public int Property {
9 set { }
12 public void Dispose ()
17 class Bar
19 static void Main ()
21 using (var f = new Foo ()) {
22 f.Property = 0;