[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mcs / errors / cs1657-2.cs
1 // CS1657: Cannot pass `m' as a ref or out argument because it is a `using variable'
2 // Line: 11
3
4 using System.IO;
5
6 class E
7 {
8     public E (int[] args)
9     {
10         using (MemoryStream m = new MemoryStream ()){
11             Init (out m);
12         }
13     }
14     
15     void Init (out MemoryStream val)
16     {
17         val = null;
18     }
19 }