summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0540-2.cs
blob: e9dc84a3eabe2532f9ba605f5857dcb87e31a9c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// CS0540: `N.Nested.C.I.P': containing type does not implement interface `N.Nested.I'
// Line: 17

using System;

namespace N
{
	class Nested
	{
		public interface I
		{
			bool P { get; }
		}

		public class C
		{
			bool I.P
			{
				get { return true; }
			}
		}
	}
}