a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
22 lines
225 B
C#
22 lines
225 B
C#
// Compiler options: -warnaserror -warn:4
|
|
|
|
using System;
|
|
|
|
public class Foo
|
|
{
|
|
[Obsolete]
|
|
public void Something ()
|
|
{
|
|
}
|
|
}
|
|
|
|
public class Bar : Foo {
|
|
public new void Something ()
|
|
{
|
|
}
|
|
|
|
public static void Main ()
|
|
{
|
|
}
|
|
}
|