Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs1657-2.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5c9add21b43061ca62074cb88fa15bca74087070 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// cs1657-2.cs: Cannot pass `m' as a ref or out argument because it is a `using variable'
// Line: 11

using System.IO;

class E
{
    public E (int[] args)
    {
	using (MemoryStream m = new MemoryStream ()){
            Init (out m);
	}
    }
    
    void Init (out MemoryStream val)
    {
	val = null;
    }
}