summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0111-24.cs
blob: a30f9d91e7c642fdfd45a6df63a332695a75f721 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// CS0111: A member `MyClass.IMyInterface<System.String>.Prop' is already defined. Rename this member or use different parameter types
// Line: 18

using System;

interface IMyInterface<T>
{
	bool Prop { set; }
}

public class MyClass: IMyInterface<string>
{
	bool IMyInterface<string>.Prop
	{
		set {}
	}

	bool IMyInterface<System.String>.Prop
	{
		set {}
	}
}