summaryrefslogtreecommitdiff
path: root/mcs/tests/gtest-exmethod-31.cs
blob: 9ef1ad1e480f2860375351d69b3d4ae90fc27758 (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
26
27
28
29
30
31
32
33
34
35
36
using System;
using System.Collections.Generic;
using N2;

namespace N
{
	static class S
	{
		internal static void Map<T>(this int i, Func<T, string> f)
		{
		}
	}
}

namespace N2
{
	static class S2
	{
		internal static void Map(this int i, int k)
		{
		}
	}
}

namespace M
{
	using N;
	
	class C
	{
		public static void Main ()
		{
			1.Map(2);
		}
	}
}