Created
January 18, 2012 14:01
-
-
Save clausjoergensen/1633127 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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