summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0619-57.cs
blob: bb90d739da59f4bdfc53c72302f72fbcda600f04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// CS0619: `IB' is obsolete: `hint'
// Line: 20

using System;

public interface IA
{
	#pragma warning disable 619
	void Foo<T> () where T : IB;
	#pragma warning restore 619
}

[Obsolete ("hint", true)]
public interface IB
{
}

public class C : IA
{
	void IA.Foo<X> ()
	{
	}
}