a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
27 lines
226 B
C#
Executable File
27 lines
226 B
C#
Executable File
// CS0619: `C' is obsolete: `x'
|
|
// Line: 24
|
|
|
|
using System;
|
|
|
|
interface I
|
|
{
|
|
}
|
|
|
|
[Obsolete ("x", true)]
|
|
class C
|
|
{
|
|
public void Foo () { }
|
|
}
|
|
|
|
class M
|
|
{
|
|
public static void Main ()
|
|
{
|
|
}
|
|
|
|
public void Test (C c)
|
|
{
|
|
c.Foo ();
|
|
}
|
|
}
|