Fix LLVM linker flags for 6.0.
[mono-project.git] / mcs / tests / gtest-461.cs
blob4ad8228ed289784b8dbed42ba2f24095a7de1bf0
1 using System;
3 namespace Test
5 public class BaseContext
9 public class MyDataContext : BaseContext
13 public abstract class Entity<T>
17 public class Person : Entity<MyDataContext>
21 public sealed class TheBox<T> where T : BaseContext
23 public U GetById<U> (Guid entityId) where U : Entity<T>
25 return null;
29 public class Program
31 public static void Main ()
33 TheBox<MyDataContext> dc = new TheBox<MyDataContext> ();
34 dc.GetById<Person> (Guid.NewGuid ());