Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

27 lines
288 B
C#

// CS0612: `O1' is obsolete
// Line: 23
// Compiler options: -warnaserror
using System;
[Obsolete]
class O1
{
}
#pragma warning disable 612
class A
{
public virtual void Foo<T> () where T : O1
{
}
}
#pragma warning restore 612
class B : A
{
public override void Foo<U> ()
{
}
}