summaryrefslogtreecommitdiff
path: root/mcs/tests/gtest-partial-010.cs
blob: 38bed351304c3ad6ad08983abe962529a8b8c439 (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
37
38
39
40
using System;

namespace A
{
	interface IA<T>
	{
		int Foo (T value);
	}

	internal partial class C : IA<C.NA>
	{
		private abstract class NA
		{
		}

		int IA<NA>.Foo (NA value)
		{
			return 0;
		}

		static void Main ()
		{
		}
	}
}

namespace A
{
	internal partial class C : IA<C.NB>
	{
		private class NB
		{
		}

		int IA<NB>.Foo (NB value)
		{
			return 0;
		}
	}
}