summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0108-13.cs
blob: 8acffbd3e800ba7c25a4cb6b77e12c52fabd8366 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// CS0108: `IMutableSequence.this[int]' hides inherited member `ISequence.this[int]'. Use the new keyword if hiding was intended
// Line: 15
// Compiler options: -warnaserror -warn:2

public interface ISequence
{
	object this [int index] 
	{
		get;
	}
}

public interface IMutableSequence : ISequence
{
	object this [int index] 
	{
		get;
		set;
	}
}