2010-02-19 Rodrigo Kumpera <rkumpera@novell.com>
[mono.git] / mono / tests / bug-461198.2.cs
blob5434c31e21fe91d1a371900f96352083ce68b196
1 using System;
3 namespace TestCase
5 class Program
7 public static void Main()
9 new Foo<string>().DoSomething();
13 public class Foo<T> : Bar<Foo<T>>
17 public class Bar<T> : Baz
19 protected override void DoSomethingElse()
21 try
23 throw new Exception();
25 catch
31 public abstract class Baz
33 protected abstract void DoSomethingElse();
35 public virtual void DoSomething()
37 DoSomethingElse();