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

gtest-607.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fa2ec85f7e6fa7b2f305d964280893678667be25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using System;

public class C
{
	public C (out string b)
	{
		b = "";
	}
	public string D () {
		return "";
	}
}
public class A
{
	public Func<String> E (out string b)
	{
		return new C (out b).D;
	}
	public Func<String> F (out string b)
	{
		return new Func<String> (new C (out b).D);
	}
	static void Main () {
	}
}