a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
24 lines
277 B
C#
24 lines
277 B
C#
// 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> ()
|
|
{
|
|
}
|
|
}
|