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

test-357.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: da12b228be7e15c203ff35aa5225c6c4d660aeaa (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
namespace SD {
	public class Sd {
		static public void F (bool b) { }
	}
}

namespace Foo {
	using SD;
	partial class Bar {
		delegate void f_t (bool b);
		f_t f = new f_t (Sd.F);
	}
}

namespace Foo {
	partial class Bar
	{
		public Bar () {}
		public static void Main ()
		{
			if (new Bar ().f == null)
				throw new System.Exception ("Didn't resolve Sd.F?");
		}
	}
}