Skip to content

Instantly share code, notes, and snippets.

@clausjoergensen
Created January 18, 2012 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clausjoergensen/1633127 to your computer and use it in GitHub Desktop.
Save clausjoergensen/1633127 to your computer and use it in GitHub Desktop.
#pragma warning disable 0809
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
public class Base
{
public virtual void Test1()
{
}
}
public class C : Base
{
[Obsolete]
public override void Test1() // CS0809
{
}
}
class Program
{
static void Main(string[] args)
{
}
}
}
#pragma warning restore 0809
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment