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: 817e80191bc2cae42bc1ef87265ca9d92701a5fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// cs1657.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;
    }
}